comparison libmpcodecs/vf_remove_logo.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 969a093964a9
children a972c1a4a012
comparison
equal deleted inserted replaced
30637:0947ead7e81b 30638:a7b908875c14
826 * filter expects only a single argument telling it where the PGM 826 * filter expects only a single argument telling it where the PGM
827 * or PPM file that describes the logo region is. 827 * or PPM file that describes the logo region is.
828 * 828 *
829 * This sets up our instance variables and parses the arguments to the filter. 829 * This sets up our instance variables and parses the arguments to the filter.
830 */ 830 */
831 static int open(vf_instance_t * vf, char * args) 831 static int vf_open(vf_instance_t *vf, char *args)
832 { 832 {
833 vf->priv = safe_malloc(sizeof(vf_priv_s)); 833 vf->priv = safe_malloc(sizeof(vf_priv_s));
834 834
835 /* Load our filter image. */ 835 /* Load our filter image. */
836 if (args) 836 if (args)
896 const vf_info_t vf_info_remove_logo = { 896 const vf_info_t vf_info_remove_logo = {
897 "Removes a tv logo based on a mask image.", 897 "Removes a tv logo based on a mask image.",
898 "remove-logo", 898 "remove-logo",
899 "Robert Edele", 899 "Robert Edele",
900 "", 900 "",
901 open, 901 vf_open,
902 NULL 902 NULL
903 }; 903 };
904 904
905 //===========================================================================// 905 //===========================================================================//