mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-08 05:28:40 +00:00
postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)
This commit is contained in:
parent
b443447536
commit
c96f3750c2
@ -819,8 +819,7 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
|
|||||||
int plen;
|
int plen;
|
||||||
int spaceLeft;
|
int spaceLeft;
|
||||||
|
|
||||||
if(p==NULL) p= temp, *p=0; //last filter
|
p--, *p=',';
|
||||||
else p--, *p=','; //not last filter
|
|
||||||
|
|
||||||
plen= strlen(p);
|
plen= strlen(p);
|
||||||
spaceLeft= p - temp + plen;
|
spaceLeft= p - temp + plen;
|
||||||
|
Loading…
Reference in New Issue
Block a user