[FFmpeg-devel] [RFC] [PATCH] casts warnings

Baptiste Coudurier baptiste.coudurier
Sun Feb 8 07:24:13 CET 2009


I believe it is better to not cast in the following situations, to let
gcc issue the real warning about assignment. What do you think ?

Besides we might think of changing bsf api when outputing original
buffer, we might not do it, and specify in documentation, that this
means bitstream is already formated.
User can then do what he wants in this case. Any opinion ?

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cast_warnings.patch
Type: text/x-diff
Size: 1323 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090207/f9708842/attachment.patch>

More information about the ffmpeg-devel mailing list