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, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commitff75dc10fd27d97b789f6d8df179e6f82580c586
tree2f0b78649c92a3351a81feb81911b055b6092869
parent18214e2a3f209aa097d274083dca84c246c6c945
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