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

Diego Biurrun diego
Wed Apr 2 21:04:47 CEST 2008


On Wed, Apr 02, 2008 at 11:30:50AM +0200, Reimar D?ffinger wrote:
> On Wed, Apr 02, 2008 at 09:19:45AM +0200, Diego Biurrun wrote:
> > +unsigned long get_checksum(ByteIOContext *s);
> > +#if LIBAVFORMAT_VERSION_MAJOR >= 53
> > +unsigned long ff_crc04C11DB7_update(unsigned int checksum, const uint8_t *buf, unsigned int len);
> > +void init_checksum(ByteIOContext *s, unsigned int (*update_checksum)(unsigned int c, const uint8_t *p, unsigned int len), unsigned int checksum);
> > +#else
> >  unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len);
> > -unsigned long get_checksum(ByteIOContext *s);
> 
> Hm, should get_checksum and ff_crc04C11DB7_update really continue to
> return unsigned long?

.. next try ..

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checksum.diff
Type: text/x-diff
Size: 2998 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080402/5dc5af1a/attachment.diff>



More information about the ffmpeg-devel mailing list