Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-01-08 02:17:00 +0300
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-01-08 02:17:00 +0300
commit6874945fbfcd08c959b046b44bbf3be152d51fa0 (patch)
tree61e8bda6b5f97009f8bf4f50b75516ec37cbbdda /fftools
parent2d3df8e2e9e60829c6cd392e334bf0302b8b59bb (diff)
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
Diffstat (limited to 'fftools')
-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 4fe78fa757..92199b3ac2 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -2054,7 +2054,6 @@ static int open_output_file(OptionsContext *o, const char *filename)
{
AVFormatContext *oc;
int i, j, err;
- AVOutputFormat *file_oformat;
OutputFile *of;
OutputStream *ost;
InputStream *ist;
@@ -2103,7 +2102,6 @@ static int open_output_file(OptionsContext *o, const char *filename)
if (o->recording_time != INT64_MAX)
oc->duration = o->recording_time;
- file_oformat= oc->oformat;
oc->interrupt_callback = int_cb;
e = av_dict_get(o->g->format_opts, "fflags", NULL, 0);