aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2006-10-27 19:53:41 +0000
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2006-10-27 19:53:41 +0000
commitce459e12da901ae37604f83f040411f33fa0d424 (patch)
treea5caabf14161a538c729e30a5f6c7fc15bff2c20
parentba8a6218915f3bbc61cd0396e58f46743ac8c40c (diff)
downloadffmpeg-ce459e12da901ae37604f83f040411f33fa0d424.tar.gz
adds missing rgb/bgr 565 codec->fmt mappings, ok'ed by Michael
Originally committed as revision 6807 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 dfe8b1390f..1212e2581f 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -54,6 +54,8 @@ const PixelFormatTag pixelFormatTags[] = {
{ PIX_FMT_GRAY8, MKTAG('G', 'R', 'E', 'Y') },
{ PIX_FMT_RGB555, MKTAG('R', 'G', 'B', 15) },
{ PIX_FMT_BGR555, MKTAG('B', 'G', 'R', 15) },
+ { PIX_FMT_RGB565, MKTAG('R', 'G', 'B', 16) },
+ { PIX_FMT_BGR565, MKTAG('B', 'G', 'R', 16) },
/* quicktime */
{ PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },