[FFmpeg-devel] Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)

Piotr Kaczuba p.kaczuba at attika.ath.cx
Wed Jun 1 18:47:37 CEST 2011


W dniu 31.05.2011 18:02, Piotr Kaczuba pisze:
> W dniu 31.05.2011 17:47, Michael Niedermayer pisze:
> [...]
>> true but does this change fix anything? the code could be removde
>> i think?
> [...]
>
> Yes, the "if (p==NULL) ..." can be removed. My previous patch would
> actually break the code again, now that the other patch is applied.
>

Attached patch removes the check for this impossible condition.

-- 
Cheers,
Piotr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postprocess2.new.diff
Type: text/x-diff
Size: 555 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110601/f4d39868/attachment.bin>


More information about the ffmpeg-devel mailing list