19 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
20 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
21 |
* |
* |
22 |
* $Id: codec.c,v 1.33 2011-02-16 18:59:45 Isibaar Exp $ |
* $Id$ |
23 |
* |
* |
24 |
*************************************************************************/ |
*************************************************************************/ |
25 |
|
|
159 |
return ICERR_BADFORMAT; |
return ICERR_BADFORMAT; |
160 |
} |
} |
161 |
|
|
162 |
|
if ((inhdr->biWidth % 4) || (inhdr->biHeight % 4)) |
163 |
|
{ |
164 |
|
return ICERR_BADFORMAT; |
165 |
|
} |
166 |
|
|
167 |
if (lpbiOutput == NULL) |
if (lpbiOutput == NULL) |
168 |
{ |
{ |
169 |
return ICERR_OK; |
return ICERR_OK; |
565 |
create.num_plugins++; |
create.num_plugins++; |
566 |
} |
} |
567 |
|
|
568 |
|
if (codec->config.debug > 0) { |
569 |
plugins[create.num_plugins].func = vfw_debug; |
plugins[create.num_plugins].func = vfw_debug; |
570 |
plugins[create.num_plugins].param = NULL; |
plugins[create.num_plugins].param = NULL; |
571 |
create.num_plugins++; |
create.num_plugins++; |
572 |
|
} |
573 |
|
|
574 |
create.profile = profiles[codec->config.profile].id; |
create.profile = profiles[codec->config.profile].id; |
575 |
|
|