ffprobe: fix const compiler warning.
authorClément Bœsch <ubitux@gmail.com>
Sat, 5 Nov 2011 12:14:43 +0000 (13:14 +0100)
committerClément Bœsch <ubitux@gmail.com>
Sat, 5 Nov 2011 14:07:19 +0000 (15:07 +0100)
ffprobe.c

index e2823d9..4ee87ec 100644 (file)
--- 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;