From 7b40f46fe274b73331c8eb8d6f25138d81b8db9e Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 12 Nov 2011 20:46:58 +0100 Subject: Set AVS palette opaque. --- libavcodec/avs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/avs.c') diff --git a/libavcodec/avs.c b/libavcodec/avs.c index cf965b38a0..4179821bc0 100644 --- a/libavcodec/avs.c +++ b/libavcodec/avs.c @@ -85,8 +85,10 @@ avs_decode_frame(AVCodecContext * avctx, if (first >= 256 || last > 256 || buf_end - buf < 4 + 4 + 3 * (last - first)) return AVERROR_INVALIDDATA; buf += 4; - for (i=first; i