diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-21 13:40:49 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-21 13:40:49 +0000 |
commit | 28cf6ea2be72588dba3b35db864bf63182d1b17f (patch) | |
tree | 17fa39add38a779d5d70e7593fc9b6a7f75a27fe /libmpcodecs/vf_screenshot.c | |
parent | 88f86bcc4d1863fdbbe0843229e1e97db61f0850 (diff) | |
download | mpv-28cf6ea2be72588dba3b35db864bf63182d1b17f.tar.bz2 mpv-28cf6ea2be72588dba3b35db864bf63182d1b17f.tar.xz |
Rename open() vf initialization function to vf_open().
This avoids clashes with fcntl.h under certain circumstances.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30680 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_screenshot.c')
-rw-r--r-- | libmpcodecs/vf_screenshot.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c index c75a83be7f..8acd30c1d9 100644 --- a/libmpcodecs/vf_screenshot.c +++ b/libmpcodecs/vf_screenshot.c @@ -282,8 +282,7 @@ static void uninit(vf_instance_t *vf) free(vf->priv); } -// open conflicts with stdio.h at least under MinGW -static int screenshot_open(vf_instance_t *vf, char* args) +static int vf_open(vf_instance_t *vf, char *args) { vf->config=config; vf->control=control; @@ -315,7 +314,7 @@ const vf_info_t vf_info_screenshot = { "screenshot", "A'rpi, Jindrich Makovicka", "", - screenshot_open, + vf_open, NULL }; |