[Ffmpeg-devel] [PATCH] ffmpeg bug, catch AV_NOPTS_VALUE before it gets rescaled
Baptiste Coudurier
baptiste.coudurier
Wed Dec 6 16:37:17 CET 2006
Michael Niedermayer wrote:
> Hi
>
> On Wed, Dec 06, 2006 at 01:08:45PM +0100, Andy Parkins wrote:
>> libavformat/utils.c
>> * Phew, this one took a while to find. write_frame() calls
>> truncate_ts(), which masks off the excess bits in the timestamps;
>> however, the special case of a timestamp set to AV_NOPTS_VALUE should
>> set it apart from normal truncation - this value is being used as a
>> flag and shouldn't be truncated (as it loses its flag properties).
>> It's important that it's retained because the oformat->write_packet()
>> is allowed to check for it
>
> patch looks ok
>
Applied.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel
mailing list