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
0f943ed3
Commit
0f943ed3
authored
Oct 27, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swfenc: zero fifo after freeing
Fixes CID602000 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
189fbced
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
swfenc.c
libavformat/swfenc.c
+3
-1
No files found.
libavformat/swfenc.c
View file @
0f943ed3
...
...
@@ -487,8 +487,10 @@ static int swf_write_trailer(AVFormatContext *s)
enc
=
s
->
streams
[
i
]
->
codec
;
if
(
enc
->
codec_type
==
AVMEDIA_TYPE_VIDEO
)
video_enc
=
enc
;
else
else
{
av_fifo_free
(
swf
->
audio_fifo
);
swf
->
audio_fifo
=
NULL
;
}
}
put_swf_tag
(
s
,
TAG_END
);
...
...
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