[FFmpeg-devel] postprocess.c: replace check for p==NULL with *p==0
Piotr Kaczuba
p.kaczuba at attika.ath.cx
Sat May 28 19:44:05 CEST 2011
It seems that the check for p==NULL in libpostproc/postprocess.c in the
filter name replacement code is quite pointless as p can never be NULL.
It should be probably *p==0 as the code wants to check for the end of
the string. See attached patch.
--
Cheers,
Piotr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postprocess2.diff
Type: text/x-diff
Size: 543 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110528/52fa6994/attachment.bin>
More information about the ffmpeg-devel
mailing list