Mercurial > mplayer.hg
comparison libmpdemux/demux_lavf.c @ 35533:a51fc69ae1b3
Add missing break.
author | upsuper |
---|---|
date | Sun, 09 Dec 2012 03:15:32 +0000 |
parents | 825d6e1cad3e |
children | ff4d8445f93e |
comparison
equal
deleted
inserted
replaced
35532:4eedc654175d | 35533:a51fc69ae1b3 |
---|---|
365 | 365 |
366 if(codec->codec_id == CODEC_ID_RAWVIDEO) { | 366 if(codec->codec_id == CODEC_ID_RAWVIDEO) { |
367 switch (codec->pix_fmt) { | 367 switch (codec->pix_fmt) { |
368 case PIX_FMT_RGB24: | 368 case PIX_FMT_RGB24: |
369 codec->codec_tag= MKTAG(24, 'B', 'G', 'R'); | 369 codec->codec_tag= MKTAG(24, 'B', 'G', 'R'); |
370 break; | |
370 case PIX_FMT_BGR24: | 371 case PIX_FMT_BGR24: |
371 codec->codec_tag= MKTAG(24, 'R', 'G', 'B'); | 372 codec->codec_tag= MKTAG(24, 'R', 'G', 'B'); |
373 break; | |
372 } | 374 } |
373 } | 375 } |
374 codec->codec_tag = mp_codec_id2tag(codec->codec_id, codec->codec_tag, 0); | 376 codec->codec_tag = mp_codec_id2tag(codec->codec_id, codec->codec_tag, 0); |
375 bih->biSize= sizeof(*bih) + codec->extradata_size; | 377 bih->biSize= sizeof(*bih) + codec->extradata_size; |
376 bih->biWidth= codec->width; | 378 bih->biWidth= codec->width; |