OSDN Git Service

lavfi/graphparser: fix parsing error in case of NULL sws_opts addition
authorStefano Sabatini <stefasab@gmail.com>
Mon, 15 Oct 2012 08:18:13 +0000 (10:18 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 21 Oct 2012 19:44:45 +0000 (21:44 +0200)
commit2969abd908f12c7f6a49aa5a1c14a33af5d094ae
tree74414d0be23aefe5d3e6793a7a06e99d9782506a
parent8c2dbc3805009010fdf6b72d6129fa9fc417321a
lavfi/graphparser: fix parsing error in case of NULL sws_opts addition

If sws_opts was NULL it was resulting in the args being set to
"W:H:(null)", which with the new parsing code was generating a syntax
failure.
libavfilter/graphparser.c