Mercurial > mplayer.hg
comparison libao2/ao_plugin.c @ 3680:2cc5737ec923
fix comment typo
author | steve |
---|---|
date | Sun, 23 Dec 2001 19:09:24 +0000 |
parents | 9eaee0d257e1 |
children | 1dbffed555a6 |
comparison
equal
deleted
inserted
replaced
3679:f74f4524de6a | 3680:2cc5737ec923 |
---|---|
55 // Find end of plugin name | 55 // Find end of plugin name |
56 while((cfg[cnt]!=',')&&(cfg[cnt]!='\0')&&(cnt<100)) cnt++; | 56 while((cfg[cnt]!=',')&&(cfg[cnt]!='\0')&&(cnt<100)) cnt++; |
57 if(cnt >= 100) | 57 if(cnt >= 100) |
58 return 0; | 58 return 0; |
59 | 59 |
60 // Is this the last itteration or just another plugin | 60 // Is this the last iteration or just another plugin |
61 if(cfg[cnt]=='\0'){ | 61 if(cfg[cnt]=='\0'){ |
62 ao_plugin_local_data.plugins=malloc((i+1)*sizeof(ao_plugin_functions_t*)); | 62 ao_plugin_local_data.plugins=malloc((i+1)*sizeof(ao_plugin_functions_t*)); |
63 if(ao_plugin_local_data.plugins){ | 63 if(ao_plugin_local_data.plugins){ |
64 ao_plugin_local_data.plugins[i+1]=NULL; | 64 ao_plugin_local_data.plugins[i+1]=NULL; |
65 // Find the plugin matching the cfg string name | 65 // Find the plugin matching the cfg string name |