Mercurial > libavcodec.hg
comparison h263.c @ 1944:a3f44c9168aa libavcodec
flv dropable p frame support
author | michael |
---|---|
date | Sat, 17 Apr 2004 13:36:21 +0000 |
parents | e2501e6e7ff7 |
children | d10578f7fd40 |
comparison
equal
deleted
inserted
replaced
1943:62beeb1a8676 | 1944:a3f44c9168aa |
---|---|
6052 return -1; | 6052 return -1; |
6053 s->width = width; | 6053 s->width = width; |
6054 s->height = height; | 6054 s->height = height; |
6055 | 6055 |
6056 s->pict_type = I_TYPE + get_bits(&s->gb, 2); | 6056 s->pict_type = I_TYPE + get_bits(&s->gb, 2); |
6057 if (s->pict_type > P_TYPE) | 6057 s->dropable= s->pict_type > P_TYPE; |
6058 if (s->dropable) | |
6058 s->pict_type = P_TYPE; | 6059 s->pict_type = P_TYPE; |
6060 | |
6059 skip_bits1(&s->gb); /* deblocking flag */ | 6061 skip_bits1(&s->gb); /* deblocking flag */ |
6060 s->chroma_qscale= s->qscale = get_bits(&s->gb, 5); | 6062 s->chroma_qscale= s->qscale = get_bits(&s->gb, 5); |
6061 | 6063 |
6062 s->h263_plus = 0; | 6064 s->h263_plus = 0; |
6063 | 6065 |