changeset 4165:5c14c4c7974f libavcodec

16bit in avi is RGB555
author michael
date Thu, 09 Nov 2006 17:28:46 +0000
parents 171e768324cd
children eced83504436
files raw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Thu Nov 09 16:40:33 2006 +0000
+++ b/raw.c	Thu Nov 09 17:28:46 2006 +0000
@@ -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;
         }