Commit ba659bed authored by Alex Converse's avatar Alex Converse

Reindent read_sbr_extension.

Originally committed as revision 22820 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 73c27046
...@@ -892,22 +892,22 @@ static void read_sbr_noise(SpectralBandReplication *sbr, GetBitContext *gb, ...@@ -892,22 +892,22 @@ static void read_sbr_noise(SpectralBandReplication *sbr, GetBitContext *gb,
static void read_sbr_extension(AACContext *ac, SpectralBandReplication *sbr, static void read_sbr_extension(AACContext *ac, SpectralBandReplication *sbr,
GetBitContext *gb, 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 //TODO - implement ps_data for parametric stereo parsing
switch (bs_extension_id) { switch (bs_extension_id) {
case EXTENSION_ID_PS: case EXTENSION_ID_PS:
if (!ac->m4ac.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"); 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 skip_bits_long(gb, *num_bits_left); // bs_fill_bits
*num_bits_left = 0; *num_bits_left = 0;
} else { } else {
#if 0 #if 0
*num_bits_left -= ff_ps_data(gb, ps); *num_bits_left -= ff_ps_data(gb, ps);
#else #else
av_log_missing_feature(ac->avccontext, "Parametric Stereo is", 0); av_log_missing_feature(ac->avccontext, "Parametric Stereo is", 0);
skip_bits_long(gb, *num_bits_left); // bs_fill_bits skip_bits_long(gb, *num_bits_left); // bs_fill_bits
*num_bits_left = 0; *num_bits_left = 0;
#endif #endif
} }
break; 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