[FFmpeg-soc] [soc]: r1926 - aac/aac.c
andoma
subversion at mplayerhq.hu
Wed Feb 27 08:35:00 CET 2008
Author: andoma
Date: Wed Feb 27 08:35:00 2008
New Revision: 1926
Log:
use skip_bits_long() when length is arbitrary
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Wed Feb 27 08:35:00 2008
@@ -603,7 +603,7 @@ static int program_config_element(AACCon
pcs->cc_tag[i] = get_bits(gb, 4);
}
align_get_bits(gb);
- skip_bits(gb, 8 * get_bits(gb, 8));
+ skip_bits_long(gb, 8 * get_bits(gb, 8));
return 0;
}
@@ -906,7 +906,7 @@ static int data_stream_element(AACContex
count += get_bits(gb, 8);
if (byte_align)
align_get_bits(gb);
- skip_bits(gb, 8 * count);
+ skip_bits_long(gb, 8 * count);
return 0;
}
@@ -1504,7 +1504,7 @@ static int lfe_channel_struct(AACContext
static int sbr_extension_data(AACContext * ac, GetBitContext * gb, int crc, int cnt) {
// TODO : sbr_extension implementation
av_log(ac->avccontext, AV_LOG_DEBUG, "aac: SBR not yet supported.\n");
- skip_bits(gb, 8*cnt - 4);
+ skip_bits_long(gb, 8*cnt - 4);
return cnt;
}
@@ -1596,7 +1596,7 @@ static int extension_payload(AACContext
case EXT_FILL_DATA:
case EXT_DATA_ELEMENT:
default:
- skip_bits(gb, 8*cnt - 4);
+ skip_bits_long(gb, 8*cnt - 4);
break;
};
return res;
More information about the FFmpeg-soc
mailing list