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