summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-05 13:14:43 +0100
committerClément Bœsch <ubitux@gmail.com>2011-11-05 15:07:19 +0100
commit1e4027747a70fbf8ab60e0ffc113bcdc0c20acb1 (patch)
tree2a66fa9fd9981dd0be0c7476c81db198ebf2e9a8
parent0e5ecd806eadf7dd0ec645b1b69310ee76c0cd1c (diff)
ffprobe: fix const compiler warning.
-rw-r--r--ffprobe.c2
1 files changed, 1 insertions, 1 deletions
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;