aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-30 17:30:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-30 17:30:18 +0000
commit43dc0bfd2ecb7e634255d74c13715b771e471892 (patch)
tree7bac37d5b2966aab88cb6f803d1741e81460519d /libavcodec/h263.c
parent40a12840b83b1d4ca8080e8a8fc589d2a32edc99 (diff)
downloadffmpeg-43dc0bfd2ecb7e634255d74c13715b771e471892.tar.gz
cleanup
Originally committed as revision 2545 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 2dbebd96a0..83f7ddf618 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -3938,7 +3938,7 @@ static int h263_decode_block(MpegEncContext * s, DCTELEM * block,
}
} 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 @@ retry:
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{