Make avfilter_open() set to NULL the pads and the filters when the
commit1071fca8867ec00d03253e7d4ee714d6375d0d7e
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 12 Jan 2009 20:30:57 +0000 (12 20:30 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 12 Jan 2009 20:30:57 +0000 (12 20:30 +0000)
tree2f738f4f7a96797856979cfe2316f58291962738
parentcb16737747da75d6307d063387612c5afaaf4dc6
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16565 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavfilter/avfilter.c