# HG changeset patch # User albeu # Date 1019849885 0 # Node ID 1092c4fc8b249ee242c6d2e3462557c72ee994cd # Parent d6eab895c74226beb2e0426cd95f40fc560b718e Don't break the pointer for the next file. diff -r d6eab895c742 -r 1092c4fc8b24 libmpcodecs/vf.c --- a/libmpcodecs/vf.c Fri Apr 26 19:14:47 2002 +0000 +++ b/libmpcodecs/vf.c Fri Apr 26 19:38:05 2002 +0000 @@ -14,9 +14,7 @@ extern vf_info_t vf_info_expand; extern vf_info_t vf_info_pp; extern vf_info_t vf_info_scale; -#ifdef USE_LIBFAME extern vf_info_t vf_info_fame; -#endif extern vf_info_t vf_info_format; extern vf_info_t vf_info_yuy2; extern vf_info_t vf_info_flip; @@ -35,9 +33,7 @@ &vf_info_scale, // &vf_info_osd, &vf_info_vo, -#ifdef USE_LIBFAME &vf_info_fame, -#endif &vf_info_format, &vf_info_yuy2, &vf_info_flip, @@ -291,16 +287,17 @@ vf_instance_t* append_filters(vf_instance_t* last){ vf_instance_t* vf; + char** plugin_args = vo_plugin_args; if(!vo_plugin_args) return last; - while(*vo_plugin_args){ - char* name=strdup(*vo_plugin_args); + while(*plugin_args){ + char* name=strdup(*plugin_args); char* args=strchr(name,'='); if(args){args[0]=0;++args;} mp_msg(MSGT_VFILTER,MSGL_INFO,"Opening video filter '%s' with args '%s'...\n",name,args); vf=vf_open_filter(last,name,args); if(vf) last=vf; free(name); - ++vo_plugin_args; + ++plugin_args; } return last; }