mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 19:11:53 +00:00
Disable buggy unused function via #if 0, blessed by Rich.
Fixes warning: vf_pullup.c: At top level: vf_pullup.c:82: warning: 'get_image' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24623 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6e0510ff84
commit
65a43f35ed
@ -78,6 +78,7 @@ static void init_pullup(struct vf_instance_s* vf, mp_image_t *mpi)
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
static void get_image(struct vf_instance_s* vf, mp_image_t *mpi)
|
||||
{
|
||||
struct pullup_context *c = vf->priv->ctx;
|
||||
@ -102,6 +103,7 @@ static void get_image(struct vf_instance_s* vf, mp_image_t *mpi)
|
||||
mpi->flags |= MP_IMGFLAG_DIRECT;
|
||||
mpi->flags &= ~MP_IMGFLAG_DRAW_CALLBACK;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user