]> git.sesse.net Git - ffmpeg/commit
avformat/mov: fix return code for trun box with no sample entries
authorGyan Doshi <ffmpeg@gyani.pro>
Sat, 20 Jul 2019 18:14:14 +0000 (23:44 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Mon, 22 Jul 2019 17:08:09 +0000 (22:38 +0530)
commitd51d71c1e3a6a225a5bc8f35963b50331e479b1a
tree0c20fee9f5cda4365e32c45fe57b390a34fcb3de
parent817235b195f55746893629bd8e6fa3501ea7b38e
avformat/mov: fix return code for trun box with no sample entries

A value of zero for sample_count in trun box is not
prohibited by 14496-12 section 8.8.8. 4a9d32baca
disallowed this which led the demuxer to error out
when reading the header of valid files.
libavformat/mov.c