]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mdec.c
avcodec/ass: fix doxygen typo
[ffmpeg] / libavcodec / mdec.c
index a9b7e8215e0a1fbe4f783fba343889064c043b10..1cc4ca4742f3f54d72466fb004c5a87d682b631a 100644 (file)
@@ -233,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;
@@ -241,6 +242,7 @@ static av_cold int decode_init_thread_copy(AVCodecContext *avctx)
 
     return 0;
 }
+#endif
 
 static av_cold int decode_end(AVCodecContext *avctx)
 {