diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-28 15:42:50 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-29 17:33:34 +0000 |
commit | c01ccccbb13f464e74bb8498a8c573a66c430ca0 (patch) | |
tree | 37941e835b7100df88f7d003b7c8f22774a5060b /libavcodec/ituh263dec.c | |
parent | 08fa34bf75942f66796d770ff42a3721b2e3d2d4 (diff) | |
download | ffmpeg-c01ccccbb13f464e74bb8498a8c573a66c430ca0.tar.gz |
ituh263dec: use macro instead of #if
Diffstat (limited to 'libavcodec/ituh263dec.c')
-rw-r--r-- | libavcodec/ituh263dec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c index da78e5d35a..e198f65e10 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -456,8 +456,7 @@ static int h263_decode_block(MpegEncContext * s, int16_t * block, } } else if (s->mb_intra) { /* DC coef */ - if(s->codec_id == AV_CODEC_ID_RV10){ -#if CONFIG_RV10_DECODER + if (CONFIG_RV10_DECODER && s->codec_id == AV_CODEC_ID_RV10) { if (s->rv10_version == 3 && s->pict_type == AV_PICTURE_TYPE_I) { int component, diff; component = (n <= 3 ? 0 : n - 4 + 1); @@ -477,7 +476,6 @@ static int h263_decode_block(MpegEncContext * s, int16_t * block, if (level == 255) level = 128; } -#endif }else{ level = get_bits(&s->gb, 8); if((level&0x7F) == 0){ |