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

Michael Niedermayer michaelni at gmx.at
Wed Jun 1 20:17:50 CEST 2011


On Wed, Jun 01, 2011 at 06:47:37PM +0200, Piotr Kaczuba wrote:
> 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

>  postprocess.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 6740d957997d2e914372926eb94c758f2a2c7500  postprocess2.new.diff

applied
thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110601/a0067530/attachment.asc>


More information about the ffmpeg-devel mailing list