]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/imx_dump_header_bsf.c
Merge commit 'b146d74730ab9ec5abede9066f770ad851e45fbc'
[ffmpeg] / libavcodec / imx_dump_header_bsf.c
index 8119809faa5091edf3d22731d830649559ce15e5..9f276bc76eaa3755efc26a5f661b89904127c412 100644 (file)
@@ -37,7 +37,7 @@ static int imx_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx
     static const uint8_t imx_header[16] = { 0x06,0x0e,0x2b,0x34,0x01,0x02,0x01,0x01,0x0d,0x01,0x03,0x01,0x05,0x01,0x01,0x00 };
     uint8_t *poutbufp;
 
-    if (avctx->codec_id != CODEC_ID_MPEG2VIDEO) {
+    if (avctx->codec_id != AV_CODEC_ID_MPEG2VIDEO) {
         av_log(avctx, AV_LOG_ERROR, "imx bitstream filter only applies to mpeg2video codec\n");
         return 0;
     }