avformat/movenc: Check first DTS similar to dts difference
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 9 Sep 2016 11:11:43 +0000 (13:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 9 Sep 2016 22:50:36 +0000 (00:50 +0200)
commit68f4c2163ec6d4534ae1756dbcf259845f2e4d2c
tree7bb2a4ce36ab2be8583948319ae3fa87389f24ed
parentc784b5cfdc7ee1e26d0032d5b9593647def30688
avformat/movenc: Check first DTS similar to dts difference

Fixes assertion failure
Fixes: b84b53855a0b74560e64c6f45f505a13/signal_sigabrt_7ffff6ae7c37_3837_ef4e243ea5b4fa8d0becf4afe9166604.avi

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/movenc.c