[FFmpeg-cvslog] mxfdec: Add missing break in frame layout parsing

Matthieu Bouron git at videolan.org
Thu Apr 19 15:53:49 CEST 2012


ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at smartjog.com> | Fri Apr 13 15:32:55 2012 +0200| [cbda76c7c65c5c0a4d5de03baad96c4a940c7336] | committer: Michael Niedermayer

mxfdec: Add missing break in frame layout parsing

Reviewed-by: Tomas Härdin <tomas.hardin at codemill.se>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbda76c7c65c5c0a4d5de03baad96c4a940c7336
---

 libavformat/mxfdec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index fb47afa..da5df94 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);
             }



More information about the ffmpeg-cvslog mailing list