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
0d7a16a9
Commit
0d7a16a9
authored
Nov 03, 2011
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: Don't copy garbage from the stack when setting up video pictures.
parent
cae4f4b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
avfilter.c
libavfilter/avfilter.c
+2
-2
No files found.
libavfilter/avfilter.c
View file @
0d7a16a9
...
...
@@ -332,8 +332,8 @@ avfilter_get_video_buffer_ref_from_arrays(uint8_t *data[4], int linesize[4], int
picref
->
type
=
AVMEDIA_TYPE_VIDEO
;
pic
->
format
=
picref
->
format
=
format
;
memcpy
(
pic
->
data
,
data
,
sizeof
(
pic
->
data
));
memcpy
(
pic
->
linesize
,
linesize
,
sizeof
(
pic
->
linesize
));
memcpy
(
pic
->
data
,
data
,
4
*
sizeof
(
data
[
0
]
));
memcpy
(
pic
->
linesize
,
linesize
,
4
*
sizeof
(
linesize
[
0
]
));
memcpy
(
picref
->
data
,
pic
->
data
,
sizeof
(
picref
->
data
));
memcpy
(
picref
->
linesize
,
pic
->
linesize
,
sizeof
(
picref
->
linesize
));
...
...
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