20 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: decoder.c,v 1.49.2.9 2003-06-28 15:48:39 chl Exp $ |
* $Id: decoder.c,v 1.49.2.10 2003-08-02 15:08:12 edgomez Exp $ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
169 |
{ |
{ |
170 |
DECODER *dec; |
DECODER *dec; |
171 |
|
|
172 |
if (XVID_MAJOR(create->version) != 1) /* v1.x.x */ |
if (XVID_VERSION_MAJOR(create->version) != 1) /* v1.x.x */ |
173 |
return XVID_ERR_VERSION; |
return XVID_ERR_VERSION; |
174 |
|
|
175 |
dec = xvid_malloc(sizeof(DECODER), CACHE_LINE); |
dec = xvid_malloc(sizeof(DECODER), CACHE_LINE); |
1733 |
int success, output, seen_something; |
int success, output, seen_something; |
1734 |
idctFuncPtr idct_save; |
idctFuncPtr idct_save; |
1735 |
|
|
1736 |
if (XVID_MAJOR(frame->version) != 1 || (stats && XVID_MAJOR(stats->version) != 1)) /* v1.x.x */ |
if (XVID_VERSION_MAJOR(frame->version) != 1 || (stats && XVID_VERSION_MAJOR(stats->version) != 1)) /* v1.x.x */ |
1737 |
return XVID_ERR_VERSION; |
return XVID_ERR_VERSION; |
1738 |
|
|
1739 |
start_global_timer(); |
start_global_timer(); |