]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mjpega_dump_header_bsf.c
pthread: Avoid spurious wakeups
[ffmpeg] / libavcodec / mjpega_dump_header_bsf.c
index 2a181fc38637893be205a0fea7628ace4d94a134..ed32d5a48f93fad89760f4d826c5de5795f22e51 100644 (file)
@@ -38,7 +38,7 @@ static int mjpega_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *av
     unsigned dqt = 0, dht = 0, sof0 = 0;
     int i;
 
-    if (avctx->codec_id != CODEC_ID_MJPEG) {
+    if (avctx->codec_id != AV_CODEC_ID_MJPEG) {
         av_log(avctx, AV_LOG_ERROR, "mjpega bitstream filter only applies to mjpeg codec\n");
         return 0;
     }