• Stefano Sabatini's avatar
    lavf/matroskaenc: avoid assert failure in case of cuepoints with duplicated PTS · 271f4112
    Stefano Sabatini authored
    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.
    271f4112
matroskaenc.c 51.3 KB