summaryrefslogtreecommitdiff
path: root/libavfilter/libmpcodecs
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-07 19:14:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-07 19:14:51 +0200
commit9fb08427d7a7ea507e1a3f96b9d377e2b30dbdca (patch)
treeb772c4f98532884578c925c6a66949febfe0f921 /libavfilter/libmpcodecs
parent561a365dca6e392c5f6cd718784c57627819eef4 (diff)
vf_pp: dont pass NULL into pp, it would fail
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/libmpcodecs')
-rw-r--r--libavfilter/libmpcodecs/vf_pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/libmpcodecs/vf_pp.c b/libavfilter/libmpcodecs/vf_pp.c
index b70eedce2c..78cce1fd7c 100644
--- a/libavfilter/libmpcodecs/vf_pp.c
+++ b/libavfilter/libmpcodecs/vf_pp.c
@@ -186,7 +186,7 @@ static int vf_open(vf_instance_t *vf, char *args){
vf->priv->outfmt=vf_match_csp(&vf->next,fmt_list,IMGFMT_YV12);
if(!vf->priv->outfmt) return 0; // no csp match :(
- if(args){
+ if(args && *args){
hex_mode= strtol(args, &endptr, 0);
if(*endptr){
name= args;