git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e5ecd8
)
ffprobe: fix const compiler warning.
author
Clément Bœsch
<ubitux@gmail.com>
Sat, 5 Nov 2011 12:14:43 +0000
(13:14 +0100)
committer
Clément Bœsch
<ubitux@gmail.com>
Sat, 5 Nov 2011 14:07:19 +0000
(15:07 +0100)
ffprobe.c
patch
|
blob
|
history
diff --git
a/ffprobe.c
b/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) {
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;
while (opt = av_opt_next(dec_ctx->priv_data,opt)) {
uint8_t *str;
if (opt->flags) continue;