1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 17:37:23 +00:00

Fix my wrong code in r25530.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25334 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ulion 2007-12-10 11:08:27 +00:00
parent 8058d953af
commit 0fe9266445

View File

@ -138,7 +138,7 @@ static af_instance_t* af_create(af_stream_t* s, const char* name_with_cmd)
if(AF_OK == new->info->open(new) &&
AF_ERROR < new->control(new,AF_CONTROL_POST_CREATE,&s->cfg)){
if(cmdline){
if(!AF_ERROR<new->control(new,AF_CONTROL_COMMAND_LINE,cmdline))
if(AF_ERROR>=new->control(new,AF_CONTROL_COMMAND_LINE,cmdline))
goto err_out;
}
free(name);