comparison mpegvideo.c @ 767:c75c3f1bef4b libavcodec

regression test for H263+
author michaelni
date Fri, 25 Oct 2002 10:50:02 +0000
parents 8d36b35a7e6e
children c3fc09466f92
comparison
equal deleted inserted replaced
766:8d36b35a7e6e 767:c75c3f1bef4b
359 CHECKED_ALLOCZ(s->field_select_table, s->mb_num*2* sizeof(INT8)) 359 CHECKED_ALLOCZ(s->field_select_table, s->mb_num*2* sizeof(INT8))
360 } 360 }
361 /* 4mv b frame decoding table */ 361 /* 4mv b frame decoding table */
362 //note this is needed for h263 without b frames too (segfault on damaged streams otherwise) 362 //note this is needed for h263 without b frames too (segfault on damaged streams otherwise)
363 CHECKED_ALLOCZ(s->co_located_type_table, s->mb_num * sizeof(UINT8)) 363 CHECKED_ALLOCZ(s->co_located_type_table, s->mb_num * sizeof(UINT8))
364 364 if (s->out_format == FMT_H263) {
365 if (s->h263_pred || s->h263_plus) {
366 /* ac values */ 365 /* ac values */
367 CHECKED_ALLOCZ(s->ac_val[0], yc_size * sizeof(INT16) * 16); 366 CHECKED_ALLOCZ(s->ac_val[0], yc_size * sizeof(INT16) * 16);
368 s->ac_val[1] = s->ac_val[0] + y_size; 367 s->ac_val[1] = s->ac_val[0] + y_size;
369 s->ac_val[2] = s->ac_val[1] + c_size; 368 s->ac_val[2] = s->ac_val[1] + c_size;
370 369