From 1e4027747a70fbf8ab60e0ffc113bcdc0c20acb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <ubitux@gmail.com>
Date: Sat, 5 Nov 2011 13:14:43 +0100
Subject: [PATCH] ffprobe: fix const compiler warning.

---
 ffprobe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffprobe.c b/ffprobe.c
index e2823d9b32a..4ee87ecb5e9 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;
-- 
GitLab