From 418f17e0060b2f8e8540441124752bed82444d4d Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Fri, 27 Oct 2006 22:08:02 +0000 Subject: [PATCH] Fix obvious typo, BGR555 was missing Originally committed as revision 6812 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 575d47ec01..178b0cbe07 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -522,7 +522,7 @@ int avpicture_layout(const AVPicture* src, int pix_fmt, int width, int height, if (pix_fmt == PIX_FMT_YUV422 || pix_fmt == PIX_FMT_UYVY422 || pix_fmt == PIX_FMT_BGR565 || - pix_fmt == PIX_FMT_BGR565 || + pix_fmt == PIX_FMT_BGR555 || pix_fmt == PIX_FMT_RGB565 || pix_fmt == PIX_FMT_RGB555) w = width * 2;