From ce459e12da901ae37604f83f040411f33fa0d424 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Fri, 27 Oct 2006 19:53:41 +0000 Subject: [PATCH] adds missing rgb/bgr 565 codec->fmt mappings, ok'ed by Michael Originally committed as revision 6807 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/raw.c | 2 ++ 1 file changed, 2 insertions(+) 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') },