graphparser: add a NULL check on the argument passed to strstr
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 30 Mar 2011 19:30:31 +0000 (21:30 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 30 Mar 2011 20:16:08 +0000 (22:16 +0200)
commit2f86e7bd12d8023da3349f10490b1e5b64531e23
tree755b5530286ad1ccc5c77fe14c33b62b94191c92
parentffd39f9d2366b4bbfcac3c47087a77c6eced362b
graphparser: add a NULL check on the argument passed to strstr

Fix crash in create_filter() which occurrs if a scale filter with no
args is provided.
libavfilter/graphparser.c