diff libmpcodecs/vf_dsize.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 32725ca88fed
children a972c1a4a012
line wrap: on
line diff
--- a/libmpcodecs/vf_dsize.c	Sun Feb 21 13:38:55 2010 +0000
+++ b/libmpcodecs/vf_dsize.c	Sun Feb 21 13:40:49 2010 +0000
@@ -79,7 +79,7 @@
 	vf->priv = NULL;
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->config = config;
 	vf->draw_slice = vf_next_draw_slice;
@@ -118,6 +118,6 @@
     "dsize",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };