X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fvideo_filter%2Fmagnify.c;h=ae5b0e394c7e35e7d5ac56cfbb7a1c21be01f3ed;hb=20751c54ed83b50894ab3c66d6499ee6920c92f2;hp=cb8e870b37c8b81b2cd62d9bca4dbd6f76ece5e7;hpb=b009862bea66be3bf9d4dcdb0c4a160e514dbca4;p=vlc diff --git a/modules/video_filter/magnify.c b/modules/video_filter/magnify.c index cb8e870b37..ae5b0e394c 100644 --- a/modules/video_filter/magnify.c +++ b/modules/video_filter/magnify.c @@ -317,7 +317,7 @@ static void DrawRectangle( uint8_t *pb_dst, int i_pitch, int i_width, int i_heig return; /* top line */ - vlc_memset( &pb_dst[y * i_pitch + x], 0xff, i_w ); + memset( &pb_dst[y * i_pitch + x], 0xff, i_w ); /* left and right */ for( dy = 1; dy < i_h-1; dy++ ) @@ -327,7 +327,7 @@ static void DrawRectangle( uint8_t *pb_dst, int i_pitch, int i_width, int i_heig } /* bottom line */ - vlc_memset( &pb_dst[(y+i_h-1) * i_pitch + x], 0xff, i_w ); + memset( &pb_dst[(y+i_h-1) * i_pitch + x], 0xff, i_w ); } static int Mouse( filter_t *p_filter, vlc_mouse_t *p_mouse, const vlc_mouse_t *p_old, const vlc_mouse_t *p_new )