[FFmpeg-cvslog] ffprobe: fix const compiler warning.
Clément Bœsch
git at videolan.org
Sat Nov 5 15:25:28 CET 2011
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sat Nov 5 13:14:43 2011 +0100| [1e4027747a70fbf8ab60e0ffc113bcdc0c20acb1] | committer: Clément Bœsch
ffprobe: fix const compiler warning.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e4027747a70fbf8ab60e0ffc113bcdc0c20acb1
---
ffprobe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ffprobe.c b/ffprobe.c
index e2823d9..4ee87ec 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;
More information about the ffmpeg-cvslog
mailing list