[FFmpeg-cvslog] Set second Delphine Software International CIN palette opaque.
Carl Eugen Hoyos
git at videolan.org
Sun Nov 13 02:49:43 CET 2011
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Nov 13 02:47:47 2011 +0100| [789da2e9f16d4eeb4d737fdb7beebe9e11f9c695] | committer: Carl Eugen Hoyos
Set second Delphine Software International CIN palette opaque.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=789da2e9f16d4eeb4d737fdb7beebe9e11f9c695
---
libavcodec/dsicinav.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c
index 80c9677..3cf32ca 100644
--- a/libavcodec/dsicinav.c
+++ b/libavcodec/dsicinav.c
@@ -228,7 +228,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx,
}
} else {
for (i = 0; i < palette_colors_count; ++i) {
- cin->palette[buf[0]] = AV_RL24(buf+1);
+ cin->palette[buf[0]] = 0xFF << 24 | AV_RL24(buf+1);
buf += 4;
bitmap_frame_size -= 4;
}
More information about the ffmpeg-cvslog
mailing list