It is unused otherwise
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -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 | ||
| 1030 | static void copy_fields(FFV1Context *fsdst, const FFV1Context *fssrc, | 1031 | static 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 | ||
| 1059 | static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src) | 1059 | static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src) |
| 1060 | { | 1060 | { |
| 1061 | FFV1Context *fsrc = src->priv_data; | 1061 | FFV1Context *fsrc = src->priv_data; |