Skip to content
Snippets Groups Projects
Commit ca78dc3c authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Correct a forgotten RGB32.

Originally committed as revision 20791 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3c3c01d9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment