mxfdec: fix frame height computation for mixed fields layout

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Matthieu Bouron 2012-05-21 13:05:01 +02:00 committed by Michael Niedermayer
parent 965b807278
commit f452d6c34d
1 changed files with 2 additions and 1 deletions

View File

@ -1517,8 +1517,9 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
break; /* The correct thing to do here is fall through, but by breaking we might be
able to decode some streams at half the vertical resolution, rather than not al all.
It's also for compatibility with the old behavior. */
case SeparateFields:
case MixedFields:
break;
case SeparateFields:
st->codec->height *= 2; /* Turn field height into frame height. */
break;
default: