Make avfilter_open() set to NULL the pads and the filters when the
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 12 Jan 2009 20:30:57 +0000 (20:30 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 12 Jan 2009 20:30:57 +0000 (20:30 +0000)
commit689a5f493b62574b6e36cb1fd14d067b81847713
tree25adc8d270171b7226569e32e28af33e195d0e68
parent7b114c0925f1b22a5f73c5b6d68fb7369352fec8
Make avfilter_open() set to NULL the pads and the filters when the
corresponding count is zero, rather than allocate a 16 bytes sized
block for them. Improve safety.

Originally committed as revision 16565 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/avfilter.c