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
d64066f6
Commit
d64066f6
authored
Sep 08, 2011
by
Gavin Kinsey
Committed by
Michael Niedermayer
Sep 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent double free of side_data when AVFMT_FLAG_KEEP_SIDE_DATA flag is set
parent
5241bc27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
utils.c
libavformat/utils.c
+4
-1
No files found.
libavformat/utils.c
View file @
d64066f6
...
@@ -1146,7 +1146,10 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt)
...
@@ -1146,7 +1146,10 @@ static int read_frame_internal(AVFormatContext *s, AVPacket *pkt)
if
(
!
st
->
need_parsing
||
!
st
->
parser
)
{
if
(
!
st
->
need_parsing
||
!
st
->
parser
)
{
/* no parsing needed: we just output the packet as is */
/* no parsing needed: we just output the packet as is */
/* raw data support */
/* raw data support */
*
pkt
=
st
->
cur_pkt
;
st
->
cur_pkt
.
data
=
NULL
;
*
pkt
=
st
->
cur_pkt
;
st
->
cur_pkt
.
data
=
NULL
;
st
->
cur_pkt
.
side_data_elems
=
0
;
st
->
cur_pkt
.
side_data
=
NULL
;
compute_pkt_fields
(
s
,
st
,
NULL
,
pkt
);
compute_pkt_fields
(
s
,
st
,
NULL
,
pkt
);
s
->
cur_st
=
NULL
;
s
->
cur_st
=
NULL
;
if
((
s
->
iformat
->
flags
&
AVFMT_GENERIC_INDEX
)
&&
if
((
s
->
iformat
->
flags
&
AVFMT_GENERIC_INDEX
)
&&
...
...
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