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>
Wed, 24 Apr 2013 19:01:14 +0000 (21:01 +0200)
commit2eaf8698a3bb3ef01af8da8fada6437dae4a2ba5
treebe844754c3d6b1f63e4871240ce6486ba5a5171c
parenta563e4af9f56061ccd00c3fc52f238bb4b677e13
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