1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

fftools/ffmpeg_opt: Remove a write-only variable.

Fixes a warning:
fftools/ffmpeg_opt.c:2057:21: warning: variable 'file_oformat' set but not used
This commit is contained in:
Carl Eugen Hoyos
2018-01-08 00:17:00 +01:00
parent 2d3df8e2e9
commit 6874945fbf

View File

@@ -2054,7 +2054,6 @@ static int open_output_file(OptionsContext *o, const char *filename)
{ {
AVFormatContext *oc; AVFormatContext *oc;
int i, j, err; int i, j, err;
AVOutputFormat *file_oformat;
OutputFile *of; OutputFile *of;
OutputStream *ost; OutputStream *ost;
InputStream *ist; InputStream *ist;
@@ -2103,7 +2102,6 @@ static int open_output_file(OptionsContext *o, const char *filename)
if (o->recording_time != INT64_MAX) if (o->recording_time != INT64_MAX)
oc->duration = o->recording_time; oc->duration = o->recording_time;
file_oformat= oc->oformat;
oc->interrupt_callback = int_cb; oc->interrupt_callback = int_cb;
e = av_dict_get(o->g->format_opts, "fflags", NULL, 0); e = av_dict_get(o->g->format_opts, "fflags", NULL, 0);