mxfdec: Move the current_partition check inside mxf_read_header()
authorTomas Härdin <tomas.hardin@codemill.se>
Tue, 20 Dec 2011 17:11:10 +0000 (18:11 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jan 2012 19:51:52 +0000 (20:51 +0100)
commit6a8826abf4aa9818b3a6e1d94f661be9fdce9032
tree6961f58f7d0c94183b8b0ff27e768728968563e5
parent46e4dd66dafda925748c40238904040fe20d5407
mxfdec: Move the current_partition check inside mxf_read_header()

This fixes SIGSEGV on files where this is actually the case, such as zzuf4.mxf
(cherry picked from commit 184f479096dabcb1eafd9c661304f410a76780ed)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mxfdec.c