On 4/23/2018 4:46 PM, Derek Buitenhuis wrote:
> The track's media duration from the mdhd atom takes precedence
> over both the stts and elst atom for calculating and setting
> the track's total duraion.
> 
> Technically, we shouldn't be using the stts atom at all for
> calculating stream durations.
> 
> This fixes incorrect stream and final packet durations on files
> with edit lists that are longer than the media duration.
> 
> The FATE changes are expected, and output is more correct (the
> AAC frame is not 1028 samples).
> 
> Signed-off-by: Derek Buitenhuis <derek.buitenh...@gmail.com>
> ---
>  libavformat/mov.c                   | 6 +++---
>  tests/ref/fate/adtstoasc_ticket3715 | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)

Ping.

If there are no further comments, I plan to push tomorrow evening.

- Derek
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to