diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-12-10 19:40:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-12-10 19:40:15 +0000 |
commit | ca78dc3cccc92508e640552f31f99213cacc2786 (patch) | |
tree | 90577622376ec552a39efd297cfa9dcd3c139b0e /libavcodec | |
parent | 3c3c01d949b2291dfaf0bf9d79e511147f8a4ce5 (diff) | |
download | ffmpeg-ca78dc3cccc92508e640552f31f99213cacc2786.tar.gz |
Correct a forgotten RGB32.
Originally committed as revision 20791 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ljpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c index 6c9f058dce..566723dbc0 100644 --- a/libavcodec/ljpegenc.c +++ b/libavcodec/ljpegenc.c @@ -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; |