changeset 10668:6eefb31b1bfc libavcodec

Correct a forgotten RGB32.
author michael
date Thu, 10 Dec 2009 19:40:15 +0000
parents 26f4a5a07f7e
children aa4c90d19a59
files ljpegenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ljpegenc.c	Thu Dec 10 18:18:57 2009 +0000
+++ b/ljpegenc.c	Thu Dec 10 19:40:15 2009 +0000
@@ -56,7 +56,7 @@
 
     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;