[FFmpeg-devel] [PATCH] eliminate long from ByteIOContext structure

Diego Biurrun diego
Wed Apr 9 18:20:46 CEST 2008

On Thu, Apr 03, 2008 at 02:24:21AM +0200, Michael Niedermayer wrote:
> On Thu, Apr 03, 2008 at 01:52:42AM +0200, Diego Biurrun wrote:
> > 
> > So how is it not a bug if the wrapper returns unsigned long, but the
> > wrapped function returns uint32_t?
> That has perfectly defined behavior in C, what you wrote though has not
> and gcc should if it compiles it at all spew out warnings.

I get no extra warnings when compiling with the FFmpeg version number

Anyway, here is another iteration that hopefully makes you happy...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: avoid_long3.diff
Type: text/x-diff
Size: 3006 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080409/1d065d2c/attachment.diff>

More information about the ffmpeg-devel mailing list