History

lavc/ffv1dec: move copy_fields() under HAVE_THREADS

It is unused otherwise

Anton Khirnov committed 2 years ago

Commit d845ea41 parent 3a5c8141 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/ffv1dec.c+1−1
@@ -1027,6 +1027,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *rframe, · 1026 unmodified lines
1027 return buf_size;1027 return buf_size;
1028}1028}
1029 1029
1030#if HAVE_THREADS
1030static void copy_fields(FFV1Context *fsdst, const FFV1Context *fssrc,1031static void copy_fields(FFV1Context *fsdst, const FFV1Context *fssrc,
1031 const FFV1Context *fsrc)1032 const FFV1Context *fsrc)
1032{1033{
@@ -1055,7 +1056,6 @@ static void copy_fields(FFV1Context *fsdst, const FFV1Context *fssrc, · 22 unmodified lines
1055 }1056 }
1056}1057}
1057 1058
1058#if HAVE_THREADS
1059static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src)1059static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
1060{1060{
1061 FFV1Context *fsrc = src->priv_data;1061 FFV1Context *fsrc = src->priv_data;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t