OSDN Git Service

Fix obvious typo, BGR555 was missing
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>
Fri, 27 Oct 2006 22:08:02 +0000 (22:08 +0000)
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>
Fri, 27 Oct 2006 22:08:02 +0000 (22:08 +0000)
Originally committed as revision 6812 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/imgconvert.c

index 575d47e..178b0cb 100644 (file)
@@ -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;