aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_opt.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-28 23:47:22 -0300
committerJames Almer <jamrial@gmail.com>2017-10-29 00:09:52 -0300
commitca2b7794234cccd6c4ae548c4bd2eac5c53b80f2 (patch)
tree36569ce7e11047c0a504c0eeaf25e76aa9e23c9b /fftools/ffmpeg_opt.c
parent8b43039fe19cacb8e7e0950ae50851cb91fa34e4 (diff)
downloadffmpeg-ca2b7794234cccd6c4ae548c4bd2eac5c53b80f2.tar.gz
avformat: remove use of deprecated AVFMT_FLAG_KEEP_SIDE_DATA flag
It has no effect whatsoever since the major bump. Replace the flag's documentation to reflect this as well. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffmpeg_opt.c')
-rw-r--r--fftools/ffmpeg_opt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 3a947d8686..f4ff1605f0 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -991,7 +991,6 @@ static int open_input_file(OptionsContext *o, const char *filename)
print_error(filename, AVERROR(ENOMEM));
exit_program(1);
}
- ic->flags |= AVFMT_FLAG_KEEP_SIDE_DATA;
if (o->nb_audio_sample_rate) {
av_dict_set_int(&o->g->format_opts, "sample_rate", o->audio_sample_rate[o->nb_audio_sample_rate - 1].u.i, 0);
}
@@ -1989,7 +1988,6 @@ static int read_ffserver_streams(OptionsContext *o, AVFormatContext *s, const ch
int i, err;
AVFormatContext *ic = avformat_alloc_context();
- ic->flags |= AVFMT_FLAG_KEEP_SIDE_DATA;
ic->interrupt_callback = int_cb;
err = avformat_open_input(&ic, filename, NULL, NULL);
if (err < 0)