avformat/mov: Only set pkt->duration to non negative values
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 16 May 2018 21:35:58 +0000 (23:35 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 Jul 2018 17:06:27 +0000 (19:06 +0200)
commit98f10ca12ccc1accafbf26d9eeb6e7c91bd650eb
treec619e55eaf9a9f2e6d9973c36482d45c5ebfb5b3
parentf4f9bd655d4254d3c9ef093efff1afbaeefbb219
avformat/mov: Only set pkt->duration to non negative values

Reviewed-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8176799f31b23849382623f0f9001acc5edf7c76)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c