comparison h263dec.c @ 8800:8ec0175bbcb5 libavcodec

Initialize s->gob_index for Intel variant of H.263 too
author kostya
date Wed, 11 Feb 2009 12:02:16 +0000
parents e9d9d946f213
children 15a3df8c01fd
comparison
equal deleted inserted replaced
8799:cb4441bed13a 8800:8ec0175bbcb5
571 avcodec_set_dimensions(avctx, s->width, s->height); 571 avcodec_set_dimensions(avctx, s->width, s->height);
572 572
573 goto retry; 573 goto retry;
574 } 574 }
575 575
576 if((s->codec_id==CODEC_ID_H263 || s->codec_id==CODEC_ID_H263P)) 576 if((s->codec_id==CODEC_ID_H263 || s->codec_id==CODEC_ID_H263P || s->codec_id == CODEC_ID_H263I))
577 s->gob_index = ff_h263_get_gob_height(s); 577 s->gob_index = ff_h263_get_gob_height(s);
578 578
579 // for hurry_up==5 579 // for hurry_up==5
580 s->current_picture.pict_type= s->pict_type; 580 s->current_picture.pict_type= s->pict_type;
581 s->current_picture.key_frame= s->pict_type == FF_I_TYPE; 581 s->current_picture.key_frame= s->pict_type == FF_I_TYPE;