showfiltfmts: destroy filter context before exit
authorMåns Rullgård <mans@mansr.com>
Fri, 6 Aug 2010 22:25:44 +0000 (22:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 6 Aug 2010 22:25:44 +0000 (22:25 +0000)
Originally committed as revision 24722 to svn://svn.ffmpeg.org/ffmpeg/trunk

tools/lavfi-showfiltfmts.c

index da3dc7b..0671bcd 100644 (file)
@@ -93,6 +93,7 @@ int main(int argc, char **argv)
                    av_pix_fmt_descriptors[fmts->formats[j]].name);
     }
 
+    avfilter_destroy(filter_ctx);
     fflush(stdout);
     return 0;
 }