Browse Source

Correct a forgotten RGB32.

Originally committed as revision 20791 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Michael Niedermayer 15 years ago
parent
commit
ca78dc3ccc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ljpegenc.c

+ 1
- 1
libavcodec/ljpegenc.c View File

@@ -56,7 +56,7 @@ static int encode_picture_lossless(AVCodecContext *avctx, unsigned char *buf, in

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;


Loading…
Cancel
Save