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>
Sun, 13 Dec 2015 16:27:04 +0000 (17:27 +0100)
commit95a144ae62b1cc724f8e9cbcfbb6e9195599a37f
treea2bd46236b6f367bc22635e8cffacb86591cb588
parent1450a39ad495ad086b1110d15f999c0eeca92ef8
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