[Ffmpeg-cvslog] r6956 - trunk/libavcodec/raw.c

michael subversion
Thu Nov 9 18:28:47 CET 2006


Author: michael
Date: Thu Nov  9 18:28:46 2006
New Revision: 6956

Modified:
   trunk/libavcodec/raw.c

Log:
16bit in avi is RGB555


Modified: trunk/libavcodec/raw.c
==============================================================================
--- trunk/libavcodec/raw.c	(original)
+++ trunk/libavcodec/raw.c	Thu Nov  9 18:28:46 2006
@@ -97,7 +97,7 @@
         switch(avctx->bits_per_sample){
         case  8: avctx->pix_fmt= PIX_FMT_PAL8  ; break;
         case 15: avctx->pix_fmt= PIX_FMT_RGB555; break;
-        case 16: avctx->pix_fmt= PIX_FMT_RGB565; break;
+        case 16: avctx->pix_fmt= PIX_FMT_RGB555; break;
         case 24: avctx->pix_fmt= PIX_FMT_BGR24 ; break;
         case 32: avctx->pix_fmt= PIX_FMT_RGBA32; break;
         }




More information about the ffmpeg-cvslog mailing list