mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-19 09:02:26 +02:00
ffprobe: fix const compiler warning.
This commit is contained in:
parent
0e5ecd806e
commit
1e4027747a
@ -710,7 +710,7 @@ static void show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_i
|
|||||||
print_str("codec_type", "unknown");
|
print_str("codec_type", "unknown");
|
||||||
}
|
}
|
||||||
if (dec_ctx->codec && dec_ctx->codec->priv_class) {
|
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)) {
|
while (opt = av_opt_next(dec_ctx->priv_data,opt)) {
|
||||||
uint8_t *str;
|
uint8_t *str;
|
||||||
if (opt->flags) continue;
|
if (opt->flags) continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user