[FFmpeg-devel] [PATCH] Fix failure in av_read_frame on timestamp rollover
Stephen Dredge i
sdredge
Wed Jun 9 07:02:52 CEST 2010
av_read_frame can fail on some (TS) files at timestamp rollover, reading
to eof before returning a frame.
The attached patch adds some utility functions for rollover aware
timestamp comparison and uses them in av_read_frame to avoid problems
at timestamp rollover.
The utility functions provide normal comparisons if pts_wrap_bits is 0
or >= 63 so behaviour on formats without timestamp wrapping should be
unaffected.
--
Stephen Dredge sdredge at tpg.com.au
_______________________________________________________________
System Administrator
+61 2 9850 0979
TPG Internet
www.tpg.com.au
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rollover_fix.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100609/fa5cec57/attachment.asc>
More information about the ffmpeg-devel
mailing list