Reindent read_sbr_extension.
Originally committed as revision 22820 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
73c2704608
commit
ba659bedb8
@ -892,22 +892,22 @@ static void read_sbr_noise(SpectralBandReplication *sbr, GetBitContext *gb,
|
||||
|
||||
static void read_sbr_extension(AACContext *ac, SpectralBandReplication *sbr,
|
||||
GetBitContext *gb,
|
||||
int bs_extension_id, int *num_bits_left)
|
||||
int bs_extension_id, int *num_bits_left)
|
||||
{
|
||||
//TODO - implement ps_data for parametric stereo parsing
|
||||
switch (bs_extension_id) {
|
||||
case EXTENSION_ID_PS:
|
||||
if (!ac->m4ac.ps) {
|
||||
av_log(ac->avccontext, AV_LOG_ERROR, "Parametric Stereo signaled to be not-present but was found in the bitstream.\n");
|
||||
skip_bits_long(gb, *num_bits_left); // bs_fill_bits
|
||||
*num_bits_left = 0;
|
||||
skip_bits_long(gb, *num_bits_left); // bs_fill_bits
|
||||
*num_bits_left = 0;
|
||||
} else {
|
||||
#if 0
|
||||
*num_bits_left -= ff_ps_data(gb, ps);
|
||||
*num_bits_left -= ff_ps_data(gb, ps);
|
||||
#else
|
||||
av_log_missing_feature(ac->avccontext, "Parametric Stereo is", 0);
|
||||
skip_bits_long(gb, *num_bits_left); // bs_fill_bits
|
||||
*num_bits_left = 0;
|
||||
av_log_missing_feature(ac->avccontext, "Parametric Stereo is", 0);
|
||||
skip_bits_long(gb, *num_bits_left); // bs_fill_bits
|
||||
*num_bits_left = 0;
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user