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
ec444c84
Commit
ec444c84
authored
Oct 21, 2012
by
Michael Niedermayer
Committed by
Diego Biurrun
Oct 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegaudiodec: Fix buffer handling on random access
parent
2f17f265
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
mpegaudiodec.c
libavcodec/mpegaudiodec.c
+1
-0
No files found.
libavcodec/mpegaudiodec.c
View file @
ec444c84
...
...
@@ -1398,6 +1398,7 @@ static int mp_decode_layer3(MPADecodeContext *s)
g
=
&
s
->
granules
[
ch
][
gr
];
s
->
last_buf_size
+=
g
->
part2_3_length
;
memset
(
g
->
sb_hybrid
,
0
,
sizeof
(
g
->
sb_hybrid
));
compute_imdct
(
s
,
g
,
&
s
->
sb_samples
[
ch
][
18
*
gr
][
0
],
s
->
mdct_buf
[
ch
]);
}
}
skip
=
s
->
last_buf_size
-
8
*
main_data_begin
;
...
...
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