summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-03-20 00:24:24 +1100
committerAnton Khirnov <anton@khirnov.net>2011-04-28 07:25:28 +0200
commit87e45ae13d1762d4ac0ff535894cec785caf99a2 (patch)
treeab1949b5063587ea17add76a6bd4e444667c55b7 /libavcodec
parentc90626b2ea5434b6e6e77b654512f0e59e0ff29d (diff)
downloadffmpeg-87e45ae13d1762d4ac0ff535894cec785caf99a2.tar.gz
rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/raw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index c2a060b5e1..7d92aba4a7 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -102,6 +102,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ PIX_FMT_BGR4_BYTE,MKTAG('R', '4', 'B', 'Y') },
{ PIX_FMT_RGB48LE, MKTAG('R', 'G', 'B', 48 ) },
{ PIX_FMT_RGB48BE, MKTAG( 48, 'R', 'G', 'B') },
+ { PIX_FMT_BGR48LE, MKTAG('B', 'G', 'R', 48 ) },
+ { PIX_FMT_BGR48BE, MKTAG( 48, 'B', 'G', 'R') },
{ PIX_FMT_GRAY16LE, MKTAG('Y', '1', 0 , 16 ) },
{ PIX_FMT_GRAY16BE, MKTAG(16 , 0 , '1', 'Y') },
{ PIX_FMT_YUV420P16LE, MKTAG('Y', '3', 11 , 16 ) },