From 2c949a1c2511cfca773f94bc7f378aca652d7a4b Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 11 Jul 2010 21:33:27 +0000 Subject: vo_tga: specify 15 bpp tga format endianness 15 bpp tga format is little endian. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31720 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_tga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/vo_tga.c') diff --git a/libvo/vo_tga.c b/libvo/vo_tga.c index 659c6f66eb..982c71a270 100644 --- a/libvo/vo_tga.c +++ b/libvo/vo_tga.c @@ -193,7 +193,7 @@ static int draw_frame(uint8_t * src[]) static int query_format(uint32_t format) { switch(format){ - case IMGFMT_BGR15: + case IMGFMT_BGR15LE: case IMGFMT_BGR24: case IMGFMT_BGRA: return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW; -- cgit v1.2.3