[FFmpeg-devel] [PATCH] change return type to int64_t of find_tag in wav_demuxer

Michael Niedermayer michaelni
Thu Jun 4 00:24:13 CEST 2009


On Wed, Jun 03, 2009 at 03:04:48PM -0700, Baptiste Coudurier wrote:
> Hi guys,
> 
> $subject. This fixes mainly a bug because have a negative size will
> make url_fseek(pb, size, SEEK_CUR) seek backward and cause infinite loop
> with SOCIAS037.wav on mplayerhq.
> 
> Changing it to int64_t will also support 4gb unsigned size.
> 
> -- 
> Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
> Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> FFmpeg maintainer                                  http://www.ffmpeg.org

>  wav.c |    9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> a83a5cbbef34ee74caaf285ede7cd966b92d89c8  wav_size_int64.patch

ok

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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090604/1985f332/attachment.pgp>



More information about the ffmpeg-devel mailing list