avformat/mxfenc: Do not crash if there is no packet in the first stream
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 13 Dec 2015 15:13:22 +0000 (16:13 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 30 Jan 2016 23:25:19 +0000 (00:25 +0100)
commitfc0f08f9fb5ef5d21f0790a71152a614c4fe7d72
treee4af4c21beec4003b942c1857d1806ed0cd1867d
parenta2966c7d1f1411ab341baae9533a6bc8e83c678a
avformat/mxfenc: Do not crash if there is no packet in the first stream

Fixes: Ticket4914

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b51e7554e74cbf007a1cab83c7bed3ad9fa2793a)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mxfenc.c