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
db2fcbbd
Commit
db2fcbbd
authored
Feb 04, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l (use of deallocated memory)
Originally committed as revision 3936 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8d65750e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
flac.c
libavcodec/flac.c
+8
-2
No files found.
libavcodec/flac.c
View file @
db2fcbbd
...
...
@@ -634,10 +634,16 @@ static int flac_decode_frame(AVCodecContext *avctx,
if
(
metadata_size
){
switch
(
metadata_type
)
{
case
METADATA_TYPE_STREAMINFO
:
case
METADATA_TYPE_STREAMINFO
:{
int
bits_count
=
get_bits_count
(
&
s
->
gb
);
metadata_streaminfo
(
s
);
buf
=
&
s
->
bitstream
[
s
->
bitstream_index
];
init_get_bits
(
&
s
->
gb
,
buf
,
buf_size
*
8
);
skip_bits
(
&
s
->
gb
,
bits_count
);
dump_headers
(
s
);
break
;
break
;
}
default
:
for
(
i
=
0
;
i
<
metadata_size
;
i
++
)
skip_bits
(
&
s
->
gb
,
8
);
...
...
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