comparison ljpegenc.c @ 10668:6eefb31b1bfc libavcodec

Correct a forgotten RGB32.
author michael
date Thu, 10 Dec 2009 19:40:15 +0000
parents 932543edc1d2
children 8a4984c5cacc
comparison
equal deleted inserted replaced
10667:26f4a5a07f7e 10668:6eefb31b1bfc
54 54
55 ff_mjpeg_encode_picture_header(s); 55 ff_mjpeg_encode_picture_header(s);
56 56
57 s->header_bits= put_bits_count(&s->pb); 57 s->header_bits= put_bits_count(&s->pb);
58 58
59 if(avctx->pix_fmt == PIX_FMT_RGB32){ 59 if(avctx->pix_fmt == PIX_FMT_BGRA){
60 int x, y, i; 60 int x, y, i;
61 const int linesize= p->linesize[0]; 61 const int linesize= p->linesize[0];
62 uint16_t (*buffer)[4]= (void *) s->rd_scratchpad; 62 uint16_t (*buffer)[4]= (void *) s->rd_scratchpad;
63 int left[3], top[3], topleft[3]; 63 int left[3], top[3], topleft[3];
64 64