fftools/ffmpeg: Remove an unused variable.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Fri, 30 Mar 2018 10:01:58 +0000 (12:01 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Fri, 30 Mar 2018 10:01:58 +0000 (12:01 +0200)
Fixes a warning:
fftools/ffmpeg.c:2201:22: warning: unused variable 'fg'

fftools/ffmpeg.c

index 4fcce8e..4724f62 100644 (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)) {