summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r--libvo/vo_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 8a8feb399c..d9c7e963a7 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -501,7 +501,7 @@ if(swsContext){
dst[1]=
dst[2]=NULL;
- swScale(swsContext,src,stride,y,h,dst, dstStride);
+ swsContext->swScale(swsContext,src,stride,y,h,dst, dstStride);
} else {
uint8_t *dst=ImageData + ( image_width * y + x ) * ( bpp/8 );
if(image_format==IMGFMT_YV12)