Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
ba659bed
Commit
ba659bed
authored
Apr 08, 2010
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindent read_sbr_extension.
Originally committed as revision 22820 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
73c27046
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
aacsbr.c
libavcodec/aacsbr.c
+7
-7
No files found.
libavcodec/aacsbr.c
View file @
ba659bed
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment