diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_vesa.c | 4 | ||||
-rw-r--r-- | libvo/vo_x11.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 09966b640b..bb8da0cc2b 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -262,7 +262,7 @@ static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int dstStride[1]= dstStride[2]=dstStride[0]>>1; if(HAS_DGA()) dst[0] += y_offset*SCREEN_LINE_SIZE(PIXEL_SIZE())+x_offset*PIXEL_SIZE(); - (*swScale)(sws,image,stride,y,h,dst,dstStride); + sws->swScale(sws,image,stride,y,h,dst,dstStride); flip_trigger = 1; return 0; } @@ -371,7 +371,7 @@ static uint32_t draw_frame(uint8_t *src[]) else srcStride[0] = srcW*2; if(HAS_DGA()) dst[0] += y_offset*SCREEN_LINE_SIZE(PIXEL_SIZE())+x_offset*PIXEL_SIZE(); - (*swScale)(sws,src,srcStride,0,srcH,dst,dstStride); + sws->swScale(sws,src,srcStride,0,srcH,dst,dstStride); flip_trigger=1; } else if(!HAS_DGA()) __vbeCopyData(src[0]); 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) |