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>
Sun, 17 Jun 2018 23:16:04 +0000 (01:16 +0200)
commit532ba2e4ae8c6cc07a85df0719c5adb9cd57f27c
tree16a0450664b5bede9c05d384a312066731a4ae40
parent78fe6f7c32ddca273587529ab3c517c39f6dc0d6
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