comparison h264.c @ 5801:0be16259b7d8 libavcodec

Enable PAFF decoding
author cehoyos
date Tue, 09 Oct 2007 12:28:17 +0000
parents 7b058e5183ab
children f896159a1a9e
comparison
equal deleted inserted replaced
5800:9c4c865e9974 5801:0be16259b7d8
3987 if(h->sps.frame_mbs_only_flag){ 3987 if(h->sps.frame_mbs_only_flag){
3988 s->picture_structure= PICT_FRAME; 3988 s->picture_structure= PICT_FRAME;
3989 }else{ 3989 }else{
3990 if(get_bits1(&s->gb)) { //field_pic_flag 3990 if(get_bits1(&s->gb)) { //field_pic_flag
3991 s->picture_structure= PICT_TOP_FIELD + get_bits1(&s->gb); //bottom_field_flag 3991 s->picture_structure= PICT_TOP_FIELD + get_bits1(&s->gb); //bottom_field_flag
3992 av_log(h->s.avctx, AV_LOG_ERROR, "PAFF interlacing is not implemented\n");
3993 } else { 3992 } else {
3994 s->picture_structure= PICT_FRAME; 3993 s->picture_structure= PICT_FRAME;
3995 h->mb_aff_frame = h->sps.mb_aff; 3994 h->mb_aff_frame = h->sps.mb_aff;
3996 } 3995 }
3997 } 3996 }