Commit 11f8f954 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

fftools/ffmpeg: Remove an unused variable.

Fixes a warning:
fftools/ffmpeg.c:2201:22: warning: unused variable 'fg'
parent 9b22417d
......@@ -2198,7 +2198,6 @@ static int ifilter_send_eof(InputFilter *ifilter, int64_t pts)
return ret;
} else {
// the filtergraph was never configured
FilterGraph *fg = ifilter->graph;
if (ifilter->format < 0)
ifilter_parameters_from_codecpar(ifilter, ifilter->ist->st->codecpar);
if (ifilter->format < 0 && (ifilter->type == AVMEDIA_TYPE_AUDIO || ifilter->type == AVMEDIA_TYPE_VIDEO)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment