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
0c1d66a0
Commit
0c1d66a0
authored
May 09, 2016
by
Mark Thompson
Committed by
Luca Barbato
May 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv_vaapi: fix double-free with some unsupported streams
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
885a9d60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
avconv_vaapi.c
avconv_vaapi.c
+2
-2
No files found.
avconv_vaapi.c
View file @
0c1d66a0
...
...
@@ -243,7 +243,7 @@ static int vaapi_build_decoder_config(VAAPIDecoderContext *ctx,
alt_profile
=
vaapi_profile_map
[
i
].
codec_profile
;
}
}
av_free
(
profile_list
);
av_free
p
(
&
profile_list
);
if
(
profile
==
VAProfileNone
)
{
av_log
(
ctx
,
loglevel
,
"No VAAPI support for codec %s.
\n
"
,
...
...
@@ -374,7 +374,7 @@ fail:
av_hwframe_constraints_free
(
&
constraints
);
av_freep
(
&
hwconfig
);
vaDestroyConfig
(
hwctx
->
display
,
ctx
->
va_config
);
av_free
(
profile_list
);
av_free
p
(
&
profile_list
);
return
err
;
}
...
...
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