summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-11 21:30:45 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:44 +0200
commitc2abfa3799e4f1342dc941bed1f556b8318700ec (patch)
treee93139fc715ba31347aee23e83f89d9cbcffb1ef /libvo
parenta7308d35461dcb5a39de03f59a3619427414ac24 (diff)
downloadmpv-c2abfa3799e4f1342dc941bed1f556b8318700ec.tar.bz2
mpv-c2abfa3799e4f1342dc941bed1f556b8318700ec.tar.xz
vo_tga: Use the proper imgfmt names
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31719 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_tga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_tga.c b/libvo/vo_tga.c
index b4ad24b1ee..659c6f66eb 100644
--- a/libvo/vo_tga.c
+++ b/libvo/vo_tga.c
@@ -193,8 +193,8 @@ static int draw_frame(uint8_t * src[])
static int query_format(uint32_t format)
{
switch(format){
- case IMGFMT_BGR|15:
- case IMGFMT_BGR|24:
+ case IMGFMT_BGR15:
+ case IMGFMT_BGR24:
case IMGFMT_BGRA:
return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW;
}