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>
Fri, 15 Jan 2016 16:39:04 +0000 (17:39 +0100)
commit07b96325311bcc5f79f02a2ff20e6f54b3c4a459
tree832fb14e7855ca3371687b215ae0b8a47a4574e3
parent50aacb334a341b941603f22b3a0d841046dc4887
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