aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2006-10-27 19:50:31 +0000
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2006-10-27 19:50:31 +0000
commitba8a6218915f3bbc61cd0396e58f46743ac8c40c (patch)
treedcfbcd8938371115e68f48b6130ab3434037dc3e
parentdbf30963f3599717e8ff90c0820bb7bfca94a38b (diff)
downloadffmpeg-ba8a6218915f3bbc61cd0396e58f46743ac8c40c.tar.gz
adds missing rgb/bgr 555 codec->fmt mappings, ok'ed by Michael
Originally committed as revision 6806 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/raw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 661587b142..dfe8b1390f 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -52,6 +52,8 @@ const PixelFormatTag pixelFormatTags[] = {
{ PIX_FMT_YUV422, MKTAG('Y', '4', '2', '2') },
{ PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') },
{ PIX_FMT_GRAY8, MKTAG('G', 'R', 'E', 'Y') },
+ { PIX_FMT_RGB555, MKTAG('R', 'G', 'B', 15) },
+ { PIX_FMT_BGR555, MKTAG('B', 'G', 'R', 15) },
/* quicktime */
{ PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },