From 08d23410ea054e0a0ac3ff4c1e3da381aa552dcd Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 16 Nov 2006 20:43:29 +0000 Subject: [PATCH] BGR555 has never been working as alpha supporting format. Remove the false setting. Originally committed as revision 7105 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 046feca..4a5e72b 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -269,7 +269,7 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { }, [PIX_FMT_BGR555] = { .name = "bgr555", - .nb_channels = 4, .is_alpha = 1, + .nb_channels = 3, .color_type = FF_COLOR_RGB, .pixel_type = FF_PIXEL_PACKED, .depth = 5, -- 2.7.4