diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/gl_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index b7910ede2c..ba14ebed21 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -490,7 +490,7 @@ void glUploadTex(GLenum target, GLenum format, GLenum type, if (slice <= 0) slice = h; if (stride < 0) { - data += h * stride; + data += (h - 1) * stride; stride = -stride; } // this is not always correct, but should work for MPlayer |