Browse Source

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
tags/n0.8
Thad Ward Benoit Fouet 15 years ago
parent
commit
741b5fd44a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ffv1.c

+ 1
- 1
libavcodec/ffv1.c 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);
}
}
}


Loading…
Cancel
Save