1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

vf_pp: dont pass NULL into pp, it would fail

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-07 19:14:51 +02:00
parent 561a365dca
commit 9fb08427d7

View File

@ -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;