Mercurial > libavcodec.hg
diff h263.c @ 1641:0226cad80fc2 libavcodec
cleanup
author | michael |
---|---|
date | Sun, 30 Nov 2003 17:30:18 +0000 |
parents | 3e2b774edce4 |
children | 835cf346975e |
line wrap: on
line diff
--- a/h263.c Sun Nov 30 17:22:51 2003 +0000 +++ b/h263.c Sun Nov 30 17:30:18 2003 +0000 @@ -3938,7 +3938,7 @@ } } else if (s->mb_intra) { /* DC coef */ - if(s->h263_rv10){ + if(s->codec_id == CODEC_ID_RV10){ if (s->rv10_version == 3 && s->pict_type == I_TYPE) { int component, diff; component = (n <= 3 ? 0 : n - 4 + 1); @@ -3999,7 +3999,7 @@ run = get_bits(&s->gb, 6); level = (int8_t)get_bits(&s->gb, 8); if(level == -128){ - if (s->h263_rv10) { + if (s->codec_id == CODEC_ID_RV10) { /* XXX: should patch encoder too */ level = get_sbits(&s->gb, 12); }else{