Mercurial > mplayer.hg
changeset 32572:e645d2d9e0db
Add support for uncompressed BGR24 pixfmt.
author | reimar |
---|---|
date | Sat, 27 Nov 2010 13:54:23 +0000 |
parents | 6cec83953665 |
children | 77c851105750 |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Sat Nov 27 13:29:16 2010 +0000 +++ b/libmpdemux/demux_lavf.c Sat Nov 27 13:54:23 2010 +0000 @@ -356,6 +356,8 @@ switch (codec->pix_fmt) { case PIX_FMT_RGB24: codec->codec_tag= MKTAG(24, 'B', 'G', 'R'); + case PIX_FMT_BGR24: + codec->codec_tag= MKTAG(24, 'R', 'G', 'B'); } } if(!codec->codec_tag)