mxfenc: don't try to write footer without header
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 18 Mar 2015 20:57:58 +0000 (21:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Mar 2015 01:20:30 +0000 (02:20 +0100)
commitb61cb61ab8f9abca98cc8c4d67cbefdb30f1e82a
treea92bb350713c4719dd0834da7d56ea895d4df236
parentc5c09501f947ccffd98de45ac87050d703c1e6a5
mxfenc: don't try to write footer without header

This fixes a crash, when trying to mux h264 into mxf_opatom.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Previous version reviewed-by: tomas.hardin@codemill.se
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mxfenc.c