[FFmpeg-devel] [PATCH] avformat/mov: compute dts_shift with trun cts

Alexandre Sicard alexandre.sicard at smartjog.com
Fri Jun 7 15:12:56 CEST 2013


Le jeudi 6 juin 2013 19:45:33 Clément Bœsch a écrit :
> Patch should be OK. The hack could be isolated in a function and shared
> with the one in mov_read_ctts(), but I don't consider this blocking.
> 
> Another nitpick would be to use an intermediate duration variable to avoid
> requesting 3 times sc->ctts_data[sc->ctts_count].duration, but that's not
> really important as well.

Updated patch following your first suggestion.

-- 
Alexandre SICARD - Intern, Research & Engineering
SmartJog | www.smartjog.com | a TDF Group company
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-mov-compute-dts_shift-with-trun-cts.patch
Type: text/x-patch
Size: 1867 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130607/cc297c5b/attachment.bin>


More information about the ffmpeg-devel mailing list