]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpeg4videodec.c
Merge commit '1720791e36f9cc24c05efea5bb275ab52156ce50'
[ffmpeg] / libavcodec / mpeg4videodec.c
index f15747f6ab5bdf4e8bfc19b3ed208b4d54220dd5..5c388c4044664e95fd34183a3b9307959f12f7f5 100644 (file)
@@ -2688,6 +2688,7 @@ int ff_mpeg4_frame_end(AVCodecContext *avctx, const uint8_t *buf, int buf_size)
     return 0;
 }
 
+#if HAVE_THREADS
 static int mpeg4_update_thread_context(AVCodecContext *dst,
                                        const AVCodecContext *src)
 {
@@ -2707,6 +2708,7 @@ static int mpeg4_update_thread_context(AVCodecContext *dst,
 
     return 0;
 }
+#endif
 
 static av_cold int decode_init(AVCodecContext *avctx)
 {