]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mdec.c
avcodec/ass: fix doxygen typo
[ffmpeg] / libavcodec / mdec.c
index ee966147720931b95fd72291d5d43c912bcb90d4..1cc4ca4742f3f54d72466fb004c5a87d682b631a 100644 (file)
@@ -31,7 +31,6 @@
 #include "blockdsp.h"
 #include "bswapdsp.h"
 #include "idctdsp.h"
-#include "mpegvideo.h"
 #include "mpeg12.h"
 #include "thread.h"
 
@@ -234,6 +233,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
     return 0;
 }
 
+#if HAVE_THREADS
 static av_cold int decode_init_thread_copy(AVCodecContext *avctx)
 {
     MDECContext * const a = avctx->priv_data;
@@ -242,6 +242,7 @@ static av_cold int decode_init_thread_copy(AVCodecContext *avctx)
 
     return 0;
 }
+#endif
 
 static av_cold int decode_end(AVCodecContext *avctx)
 {