avformat/movenc: Check packet in mov_write_single_packet() too
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 15 Sep 2016 21:52:54 +0000 (23:52 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Sep 2016 22:18:11 +0000 (00:18 +0200)
commit0ffdabb58d3643ef377081074b44e59516ce2f2e
tree848ce8c4cb684b759f50a08a071aa9ec57fc3ff7
parente1ab851da65d2ca01823a8d2e4da964bc243c1f2
avformat/movenc: Check packet in mov_write_single_packet() too

Fixes assertion failure

Found-by: durandal117
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 28343139330f557e00293933a4697c7d0fc19c56)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/movenc.c