--- decoder.c 2005/12/30 14:04:49 1.77 +++ decoder.c 2006/09/10 22:42:15 1.79 @@ -20,7 +20,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: decoder.c,v 1.77 2005/12/30 14:04:49 Isibaar Exp $ + * $Id: decoder.c,v 1.79 2006/09/10 22:42:15 Isibaar Exp $ * ****************************************************************************/ @@ -195,6 +195,7 @@ dec->low_delay = 0; dec->packed_mode = 0; dec->time_inc_resolution = 1; /* until VOL header says otherwise */ + dec->ver_id = 1; dec->bs_version = 0xffff; /* Initialize to very high value -> assume bugfree stream */ @@ -1617,7 +1618,7 @@ if (coding_type == -2 || coding_type == -3) { /* vol and/or resize */ if (coding_type == -3) - decoder_resize(dec); + if (decoder_resize(dec)) return XVID_ERR_MEMORY; if(stats) { stats->type = XVID_TYPE_VOL;