summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-03-20 00:24:24 +1100
committerPeter Ross <pross@xvid.org>2011-03-26 13:24:43 +1100
commit7181627686ae107aecfdf6eee09d3cd066be6d5b (patch)
treef536fa0da5bf98b4a742f2731056297d770d189f
parentf5607c83613a4cf1524b64cc5f2951933acf7376 (diff)
downloadffmpeg-streaming-7181627686ae107aecfdf6eee09d3cd066be6d5b.zip
ffmpeg-streaming-7181627686ae107aecfdf6eee09d3cd066be6d5b.tar.gz
rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
-rw-r--r--libavcodec/raw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 1fbf4d2..26b4df6 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 ) },
OpenPOWER on IntegriCloud