avfiltergraph: check for sws opts being non-NULL before using them.
authorAnton Khirnov <anton@khirnov.net>
Sun, 17 Mar 2013 15:14:58 +0000 (16:14 +0100)
committerReinhard Tartler <siretart@tauware.de>
Thu, 9 May 2013 18:05:52 +0000 (20:05 +0200)
commit33c9e18b09f4025ae635ef24bab8eab1a686a711
tree7a63710a0d9971cd93d42ac97910736ad474e583
parentf844cb9bced3148fca2db5bbb092929526108005
avfiltergraph: check for sws opts being non-NULL before using them.

Avoid snprintfing a NULL pointer.

CC: libav-stable@libav.org
(cherry picked from commit 6e3c13a559e9ff300b5ca60e1d503e594d7f055c)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavfilter/avfiltergraph.c
libavfilter/graphparser.c