fftools/ffmpeg: Remove an unused variable.

Fixes a warning:
fftools/ffmpeg.c:2201:22: warning: unused variable 'fg'
This commit is contained in:
Carl Eugen Hoyos 2018-03-30 12:01:58 +02:00
parent 9b22417de6
commit 11f8f9547d
1 changed files with 0 additions and 1 deletions

View File

@ -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)) {