Commit 9fb08427 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_pp: dont pass NULL into pp, it would fail

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 561a365d
...@@ -186,7 +186,7 @@ static int vf_open(vf_instance_t *vf, char *args){ ...@@ -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); vf->priv->outfmt=vf_match_csp(&vf->next,fmt_list,IMGFMT_YV12);
if(!vf->priv->outfmt) return 0; // no csp match :( if(!vf->priv->outfmt) return 0; // no csp match :(
if(args){ if(args && *args){
hex_mode= strtol(args, &endptr, 0); hex_mode= strtol(args, &endptr, 0);
if(*endptr){ if(*endptr){
name= args; name= args;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment