avfiltergraph: silence an uninitialized variable warning
authorAnton Khirnov <anton@khirnov.net>
Sat, 18 Aug 2012 14:51:32 +0000 (16:51 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 17 Sep 2012 13:48:20 +0000 (15:48 +0200)
commite3496e5dbe277e056800ebe7740ac6467d35d5cb
tree193a55994f0a4d3831c8c4d08133fa2a7c22cb76
parent34ebbbfeecd6f535c75dfddf2d21d198e1613300
avfiltergraph: silence an uninitialized variable warning

The warning is:
libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’:
libavfilter/avfiltergraph.c:528:9: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized]
libavfilter/avfiltergraph.c:479:13: note: ‘best_idx’ was declared here

Initialize it to an invalid value and add an assert that it's properly
set later.
libavfilter/avfiltergraph.c