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
oldabi
Thad Ward 15 years ago committed by Benoit Fouet
parent 30cdfb49b4
commit 741b5fd44a
  1. 2
      libavcodec/ffv1.c

@ -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);
}
}
}

Loading…
Cancel
Save