# HG changeset patch # User upsuper # Date 1355022932 0 # Node ID a51fc69ae1b303440aec6ac65270e433a2d1ffb1 # Parent 4eedc654175d081e5c74359c6f2a1227cb398e1a Add missing break. diff -r 4eedc654175d -r a51fc69ae1b3 libmpdemux/demux_lavf.c --- 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);