[Ffmpeg-devel] [PATCH] ffmpeg bug, catch AV_NOPTS_VALUE before it gets rescaled
Andy Parkins
andrew.parkins
Wed Dec 6 13:08:45 CET 2006
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
---
libavformat/utils.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 09f4d0ff0bfc553f9324d5a00d6325eb70ca3e20.diff
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061206/c2eb5e16/attachment.bin>
More information about the ffmpeg-devel
mailing list