OSDN Git Service

lavf/mov: make invalid m{d,v}hd time_scale default to 1 instead of erroring out
authorMatthieu Bouron <matthieu.bouron@gmail.com>
Thu, 11 May 2017 13:16:22 +0000 (15:16 +0200)
committerMatthieu Bouron <matthieu.bouron@gmail.com>
Sat, 20 May 2017 10:56:35 +0000 (12:56 +0200)
commitab61b79b1c707a9ea0512238d837ea3e8b8395ed
tree3c5f69f7870bf10aa48257002f1621549be27fe5
parente8ae23db27bd308b299c00f2a10e1243cdb08103
lavf/mov: make invalid m{d,v}hd time_scale default to 1 instead of erroring out

Some samples have their metadata track time_scale incorrectly set to 0
and the check introduced by a398f054fdb9b0f0b5a91c231fba6ce014143f71
prevents playback of those samples. Setting the time_scale to 1 fixes
playback.
libavformat/mov.c