Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
71edfa91
Commit
71edfa91
authored
Jan 19, 2012
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used picture_Release when applicable.
parent
ccc3af5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
modules/video_output/opengl.c
modules/video_output/opengl.c
+1
-1
src/misc/image.c
src/misc/image.c
+2
-5
No files found.
modules/video_output/opengl.c
View file @
71edfa91
...
...
@@ -485,7 +485,7 @@ picture_pool_t *vout_display_opengl_GetPool(vout_display_opengl_t *vgl, unsigned
error:
for
(
unsigned
i
=
0
;
i
<
count
;
i
++
)
picture_
Delet
e
(
picture
[
i
]);
picture_
Releas
e
(
picture
[
i
]);
return
NULL
;
}
...
...
src/misc/image.c
View file @
71edfa91
...
...
@@ -633,11 +633,8 @@ static picture_t *video_new_buffer( decoder_t *p_dec )
static
void
video_del_buffer
(
decoder_t
*
p_dec
,
picture_t
*
p_pic
)
{
if
(
p_pic
->
i_refcount
!=
1
)
msg_Err
(
p_dec
,
"invalid picture reference count"
);
p_pic
->
i_refcount
=
0
;
picture_Delete
(
p_pic
);
(
void
)
p_dec
;
picture_Release
(
p_pic
);
}
static
void
video_link_picture
(
decoder_t
*
p_dec
,
picture_t
*
p_pic
)
...
...
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