• Matthieu Bouron's avatar
    Merge commit '76729970' · 3c058f57
    Matthieu Bouron authored
    * commit '76729970':
      mov: Implement support for multiple sample description tables
    
    Notes:
      * The sc->stsc_data[index].id checks have been moved from the mov_read_stsc
      to mov_read_packet before the value is used in mov_change_extradata to
      not break playback of samples with broken stsc entries (see sample of
      ticket #1918).
    
      * sc->stsc_index is now checked against sc->stsc_count - 1 before it
      is incremented so it remains lesser than sc->stsc_count. Fixes a crash
      with:
    
      ./ffmpeg -i matrixbench_mpeg2.mpg -t 1 -frag_duration 200k test.mov
      ./ffprobe -show_packets test.mov
    Merged-by: 's avatarMatthieu Bouron <matthieu.bouron@stupeflix.com>
    3c058f57
isom.h 9.78 KB