Commit 2b15b6ff authored by alexc's avatar alexc

Reindent read_sbr_extension.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22820 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ae1686de
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment