26 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
27 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
28 |
* |
* |
29 |
* $Id: encoder.c,v 1.95.2.18 2003-04-02 20:43:56 edgomez Exp $ |
* $Id: encoder.c,v 1.95.2.19 2003-04-27 21:18:49 edgomez Exp $ |
30 |
* |
* |
31 |
****************************************************************************/ |
****************************************************************************/ |
32 |
|
|
151 |
if (pEnc->mbParam.fincr>0) |
if (pEnc->mbParam.fincr>0) |
152 |
simplify_time(&pEnc->mbParam.fincr, &pEnc->mbParam.fbase); |
simplify_time(&pEnc->mbParam.fincr, &pEnc->mbParam.fbase); |
153 |
|
|
154 |
/* plugin */ |
/* plugins */ |
155 |
|
if(create->num_plugins > 0) { |
156 |
pEnc->num_plugins = create->num_plugins; |
pEnc->num_plugins = create->num_plugins; |
157 |
pEnc->plugins = xvid_malloc(sizeof(xvid_enc_plugin_t) * pEnc->num_plugins, CACHE_LINE); |
pEnc->plugins = xvid_malloc(sizeof(xvid_enc_plugin_t) * pEnc->num_plugins, CACHE_LINE); |
158 |
if (pEnc->plugins == NULL) |
if (pEnc->plugins == NULL) |
159 |
goto xvid_err_memory0; |
goto xvid_err_memory0; |
160 |
|
} else { |
161 |
|
pEnc->num_plugins = 0; |
162 |
|
pEnc->plugins = NULL; |
163 |
|
} |
164 |
|
|
165 |
for (n=0; n<pEnc->num_plugins;n++) { |
for (n=0; n<pEnc->num_plugins;n++) { |
166 |
xvid_plg_create_t pcreate; |
xvid_plg_create_t pcreate; |
603 |
} |
} |
604 |
|
|
605 |
|
|
606 |
if (pEnc->num_plugins>0) |
if (pEnc->num_plugins>0) { |
|
{ |
|
607 |
xvid_plg_destroy_t pdestroy; |
xvid_plg_destroy_t pdestroy; |
608 |
memset(&pdestroy, 0, sizeof(xvid_plg_destroy_t)); |
memset(&pdestroy, 0, sizeof(xvid_plg_destroy_t)); |
609 |
|
|