mxfdec: fix Avid AirSpeed files being misinterpreted as OP1a
authorTomas Härdin <tomas.hardin@codemill.se>
Fri, 2 Mar 2012 10:33:28 +0000 (11:33 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 10 Jul 2012 11:51:04 +0000 (13:51 +0200)
commitfb8fa3c67c78d2218c578164b756cd000b0736d1
treec2d873565675204578bf042f316675dfb201dfaa
parent1fadf53e0073176966e52d9a8ffd78ffe85e2d79
mxfdec: fix Avid AirSpeed files being misinterpreted as OP1a

The "ECs != 1 -> OP1a" assumption was wrong. Luckily, the file
that triggered that behavior had two ECs, not zero. Hence
distinguishing between them is simple in this case.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/mxfdec.c