Set an opaque alpha value when decoding rgba ffv1.

Patch by Thad Ward coderjoe69¤yahoo°com

Originally committed as revision 23757 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Thad Ward 2010-06-24 15:22:33 +00:00 committed by Benoit Fouet
parent 30cdfb49b4
commit 741b5fd44a
1 changed files with 1 additions and 1 deletions

View File

@ -957,7 +957,7 @@ static void decode_rgb_frame(FFV1Context *s, uint32_t *src, int w, int h, int st
b += g;
r += g;
src[x + stride*y]= b + (g<<8) + (r<<16);
src[x + stride*y]= b + (g<<8) + (r<<16) + (0xFF<<24);
}
}
}