Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b1665d3d
Commit
b1665d3d
authored
Sep 17, 2014
by
Hannes Domani
Committed by
Jean-Baptiste Kempf
Feb 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: fix memory leak in ThreadReinit() in case of similar video format
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
2e45e74f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/video_output/video_output.c
src/video_output/video_output.c
+3
-1
No files found.
src/video_output/video_output.c
View file @
b1665d3d
...
...
@@ -1417,8 +1417,10 @@ static int ThreadReinit(vout_thread_t *vout,
/* We ignore crop/ar changes at this point, they are dynamically supported */
VideoFormatCopyCropAr
(
&
vout
->
p
->
original
,
&
original
);
if
(
video_format_IsSimilar
(
&
original
,
&
vout
->
p
->
original
))
{
if
(
cfg
->
dpb_size
<=
vout
->
p
->
dpb_size
)
if
(
cfg
->
dpb_size
<=
vout
->
p
->
dpb_size
)
{
video_format_Clean
(
&
original
);
return
VLC_SUCCESS
;
}
msg_Warn
(
vout
,
"DPB need to be increased"
);
}
...
...
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