changeset 35533:a51fc69ae1b3

Add missing break.
author upsuper
date Sun, 09 Dec 2012 03:15:32 +0000
parents 4eedc654175d
children 4cdbc26e4191
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Sun Dec 09 02:22:08 2012 +0000
+++ b/libmpdemux/demux_lavf.c	Sun Dec 09 03:15:32 2012 +0000
@@ -367,8 +367,10 @@
                 switch (codec->pix_fmt) {
                     case PIX_FMT_RGB24:
                         codec->codec_tag= MKTAG(24, 'B', 'G', 'R');
+                        break;
                     case PIX_FMT_BGR24:
                         codec->codec_tag= MKTAG(24, 'R', 'G', 'B');
+                        break;
                 }
             }
             codec->codec_tag = mp_codec_id2tag(codec->codec_id, codec->codec_tag, 0);