summaryrefslogtreecommitdiff
path: root/libavformat/mxfdec.c
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@smartjog.com>2012-04-13 15:32:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-19 15:08:22 +0200
commitcbda76c7c65c5c0a4d5de03baad96c4a940c7336 (patch)
treef3bb36a508b863df8486363e1ebe6414a084bef3 /libavformat/mxfdec.c
parent70ca163bc558b2194fd9e73502bd13073c214ef5 (diff)
mxfdec: Add missing break in frame layout parsing
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r--libavformat/mxfdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index fb47afa5eb..da5df94a30 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -1520,6 +1520,7 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
case SeparateFields:
case MixedFields:
st->codec->height *= 2; /* Turn field height into frame height. */
+ break;
default:
av_log(mxf->fc, AV_LOG_INFO, "Unknown frame layout type: %d\n", descriptor->frame_layout);
}