[FFmpeg-cvslog] r20791 - trunk/libavcodec/ljpegenc.c

michael subversion
Thu Dec 10 20:40:15 CET 2009


Author: michael
Date: Thu Dec 10 20:40:15 2009
New Revision: 20791

Log:
Correct a forgotten RGB32.

Modified:
   trunk/libavcodec/ljpegenc.c

Modified: trunk/libavcodec/ljpegenc.c
==============================================================================
--- trunk/libavcodec/ljpegenc.c	Thu Dec 10 19:18:57 2009	(r20790)
+++ trunk/libavcodec/ljpegenc.c	Thu Dec 10 20:40:15 2009	(r20791)
@@ -56,7 +56,7 @@ static int encode_picture_lossless(AVCod
 
     s->header_bits= put_bits_count(&s->pb);
 
-    if(avctx->pix_fmt == PIX_FMT_RGB32){
+    if(avctx->pix_fmt == PIX_FMT_BGRA){
         int x, y, i;
         const int linesize= p->linesize[0];
         uint16_t (*buffer)[4]= (void *) s->rd_scratchpad;



More information about the ffmpeg-cvslog mailing list