Mercurial > libavcodec.hg
comparison h263.c @ 1583:853d2107ce5b libavcodec
initial support for zygovideo
author | alex |
---|---|
date | Wed, 29 Oct 2003 14:54:45 +0000 |
parents | dd544554ed42 |
children | 3615999a7284 |
comparison
equal
deleted
inserted
replaced
1582:ece0ad14a35d | 1583:853d2107ce5b |
---|---|
4302 } | 4302 } |
4303 | 4303 |
4304 /* MPPTYPE */ | 4304 /* MPPTYPE */ |
4305 s->pict_type = get_bits(&s->gb, 3) + I_TYPE; | 4305 s->pict_type = get_bits(&s->gb, 3) + I_TYPE; |
4306 dprintf("pict_type: %d\n", s->pict_type); | 4306 dprintf("pict_type: %d\n", s->pict_type); |
4307 if (s->pict_type == 8 && s->avctx->codec_tag == ff_get_fourcc("ZYGO")) | |
4308 s->pict_type = I_TYPE; | |
4307 if (s->pict_type != I_TYPE && | 4309 if (s->pict_type != I_TYPE && |
4308 s->pict_type != P_TYPE) | 4310 s->pict_type != P_TYPE) |
4309 return -1; | 4311 return -1; |
4310 skip_bits(&s->gb, 2); | 4312 skip_bits(&s->gb, 2); |
4311 s->no_rounding = get_bits1(&s->gb); | 4313 s->no_rounding = get_bits1(&s->gb); |