Mercurial > mplayer.hg
changeset 5843:1092c4fc8b24
Don't break the pointer for the next file.
author | albeu |
---|---|
date | Fri, 26 Apr 2002 19:38:05 +0000 |
parents | d6eab895c742 |
children | d6d0e9ecc5e8 |
files | libmpcodecs/vf.c |
diffstat | 1 files changed, 4 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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; }