[Ffmpeg-cvslog] r7266 - trunk/libavcodec/cscd.c
reimar
subversion
Sat Dec 9 14:30:28 CET 2006
Author: reimar
Date: Sat Dec 9 14:30:28 2006
New Revision: 7266
Modified:
trunk/libavcodec/cscd.c
Log:
Fix 16 bit cscd samples, 16 bit raw means RGB555 on Windows, and the original
cscd codec is for windows.
Modified: trunk/libavcodec/cscd.c
==============================================================================
--- trunk/libavcodec/cscd.c (original)
+++ trunk/libavcodec/cscd.c Sat Dec 9 14:30:28 2006
@@ -220,7 +220,7 @@
}
avctx->has_b_frames = 0;
switch (avctx->bits_per_sample) {
- 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;
default:
More information about the ffmpeg-cvslog
mailing list