From: Clément Bœsch Date: Sat, 5 Nov 2011 12:14:43 +0000 (+0100) Subject: ffprobe: fix const compiler warning. X-Git-Tag: n0.9~696 X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=1e4027747a70fbf8ab60e0ffc113bcdc0c20acb1;ds=sidebyside ffprobe: fix const compiler warning. --- diff --git a/ffprobe.c b/ffprobe.c index e2823d9b32..4ee87ecb5e 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -710,7 +710,7 @@ static void show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_i print_str("codec_type", "unknown"); } if (dec_ctx->codec && dec_ctx->codec->priv_class) { - AVOption *opt = NULL; + const AVOption *opt = NULL; while (opt = av_opt_next(dec_ctx->priv_data,opt)) { uint8_t *str; if (opt->flags) continue;