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
bc00da27
Commit
bc00da27
authored
May 14, 2012
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indeo3: when freeing buffers, set pointers referencing them to NULL as well
parent
81064a80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
indeo3.c
libavcodec/indeo3.c
+1
-0
No files found.
libavcodec/indeo3.c
View file @
bc00da27
...
...
@@ -209,6 +209,7 @@ static av_cold void free_frame_buffers(Indeo3DecodeContext *ctx)
for
(
p
=
0
;
p
<
3
;
p
++
)
{
av_freep
(
&
ctx
->
planes
[
p
].
buffers
[
0
]);
av_freep
(
&
ctx
->
planes
[
p
].
buffers
[
1
]);
ctx
->
planes
[
p
].
pixels
[
0
]
=
ctx
->
planes
[
p
].
pixels
[
1
]
=
0
;
}
}
...
...
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