[Ffmpeg-devel] [PATCH] ffmpeg bug, catch AV_NOPTS_VALUE before it gets rescaled
Wed Dec 6 13:08:45 CET 2006
* 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...
Size: 580 bytes
Desc: not available
More information about the ffmpeg-devel