Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/h263.c Fri Apr 16 18:50:30 2004 +0000 +++ b/h263.c Sat Apr 17 13:36:21 2004 +0000 @@ -6054,8 +6054,10 @@ s->height = height; s->pict_type = I_TYPE + get_bits(&s->gb, 2); - if (s->pict_type > P_TYPE) + s->dropable= s->pict_type > P_TYPE; + if (s->dropable) s->pict_type = P_TYPE; + skip_bits1(&s->gb); /* deblocking flag */ s->chroma_qscale= s->qscale = get_bits(&s->gb, 5);