Mercurial > mplayer.hg
diff libvo/vo_svga.c @ 36517:5d3f93051de9
Remove empty draw_slice and draw_frame stubs.
Long term, draw_frame should be removed completely.
author | reimar |
---|---|
date | Sat, 18 Jan 2014 21:39:07 +0000 |
parents | ddb45e9443ec |
children | e788bcd9d49b |
line wrap: on
line diff
--- a/libvo/vo_svga.c Sat Jan 18 20:41:46 2014 +0000 +++ b/libvo/vo_svga.c Sat Jan 18 21:39:07 2014 +0000 @@ -52,6 +52,8 @@ #include "config.h" #include "video_out.h" +#define NO_DRAW_FRAME +#define NO_DRAW_SLICE #include "video_out_internal.h" #include "fastmemcpy.h" #include "osdep/getch2.h" @@ -553,17 +555,6 @@ return 0; } -static int draw_slice(uint8_t *image[],int stride[], - int w, int h, int x, int y) { - assert(0); - return VO_ERROR;//this is yv12 only -> vf_scale should do all transforms -} - -static int draw_frame(uint8_t *src[]) { - assert(0); - return VO_ERROR;//this one should not be called -} - static void draw_osd(void) { mp_msg(MSGT_VO,MSGL_DBG4, "vo_svga: draw_osd()\n");