build: factor out mpegvideo.o dependencies to CONFIG_MPEGVIDEO
[ffmpeg.git] / avprobe.c
index 5fe5b89..28746bf 100644 (file)
--- a/avprobe.c
+++ b/avprobe.c
@@ -730,7 +730,7 @@ static int open_input_file(AVFormatContext **fmt_ctx_ptr, const char *filename)
         AVStream *stream = fmt_ctx->streams[i];
         AVCodec *codec;
 
-        if (stream->codec->codec_id == CODEC_ID_PROBE) {
+        if (stream->codec->codec_id == AV_CODEC_ID_PROBE) {
             fprintf(stderr, "Failed to probe codec for input stream %d\n",
                     stream->index);
         } else if (!(codec = avcodec_find_decoder(stream->codec->codec_id))) {