Commit c96f3750 authored by Piotr Kaczuba's avatar Piotr Kaczuba Committed by Michael Niedermayer

postprocess: Remove test for impossible condition (was: Re: postprocess.c:...

postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)
parent b4434475
......@@ -819,8 +819,7 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
int plen;
int spaceLeft;
if(p==NULL) p= temp, *p=0; //last filter
else p--, *p=','; //not last filter
p--, *p=',';
plen= strlen(p);
spaceLeft= p - temp + plen;
......
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