summaryrefslogtreecommitdiff
path: root/libavcodec/imx_dump_header_bsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/imx_dump_header_bsf.c')
-rw-r--r--libavcodec/imx_dump_header_bsf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imx_dump_header_bsf.c b/libavcodec/imx_dump_header_bsf.c
index 3724daf008..5f5493f5a8 100644
--- a/libavcodec/imx_dump_header_bsf.c
+++ b/libavcodec/imx_dump_header_bsf.c
@@ -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;
}