[FFmpeg-devel] [PATCH] lavf/matroskaenc: avoid assert failure in case of cuepoints with duplicated PTS

Stefano Sabatini stefasab at gmail.com
Mon Feb 18 01:26:02 CET 2013


On date Sunday 2013-02-10 21:44:35 +0100, Stefano Sabatini encoded:
> Avoid to write more than one cuepoint per track and PTS in
> mkv_write_cues(). This avoids a later assertion failure on "(bytes >=
> needed_bytes)" in put_ebml_num() called from end_ebml_master(), in case
> there are several cuepoints per track with the same PTS.
> 
> This may happen with files containing packets with duplicated PTS in the
> same track.
> ---
>  libavformat/matroskaenc.c |   17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)

Ping.
-- 
FFmpeg = F**k*n* Formidable Mournful Programmable Elitist Guru


More information about the ffmpeg-devel mailing list