Mercurial > mplayer.hg
diff libmpcodecs/vf_screenshot.c @ 30638:a7b908875c14
Rename open() vf initialization function to vf_open().
This avoids clashes with fcntl.h under certain circumstances.
author | diego |
---|---|
date | Sun, 21 Feb 2010 13:40:49 +0000 |
parents | bbb6ebec87a0 |
children | a972c1a4a012 |
line wrap: on
line diff
--- a/libmpcodecs/vf_screenshot.c Sun Feb 21 13:38:55 2010 +0000 +++ b/libmpcodecs/vf_screenshot.c Sun Feb 21 13:40:49 2010 +0000 @@ -282,8 +282,7 @@ 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 @@ "screenshot", "A'rpi, Jindrich Makovicka", "", - screenshot_open, + vf_open, NULL };