summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-11 21:33:27 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:44 +0200
commit2c949a1c2511cfca773f94bc7f378aca652d7a4b (patch)
tree6c8f5173487bde4eb069f65f1c3c3f2ec039e7e5 /libvo
parentc2abfa3799e4f1342dc941bed1f556b8318700ec (diff)
downloadmpv-2c949a1c2511cfca773f94bc7f378aca652d7a4b.tar.bz2
mpv-2c949a1c2511cfca773f94bc7f378aca652d7a4b.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_tga.c2
1 files changed, 1 insertions, 1 deletions
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;