Correct a forgotten RGB32.

Originally committed as revision 20791 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2009-12-10 19:40:15 +00:00
parent 3c3c01d949
commit ca78dc3ccc

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); 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; int x, y, i;
const int linesize= p->linesize[0]; const int linesize= p->linesize[0];
uint16_t (*buffer)[4]= (void *) s->rd_scratchpad; uint16_t (*buffer)[4]= (void *) s->rd_scratchpad;