Attached patch fixes an int<-->uint bug affecting muxing of ogg audio.

This line is the problem:
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/oggparsevorbis.c#L476

You can see in:
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/oggdec.h#L68 that
`os->pduration` is an `unsigned int`, but over at
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/oggparsevorbis.c#L409
the `duration` local is just an `int`...  So when `duration` is negative,
it's getting converted to a large positive 32-bit unsigned int.


ab

Attachment: pduration.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to