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
7090b8ef
Commit
7090b8ef
authored
Jan 19, 2012
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unexport now unused picture_Delete().
parent
71edfa91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
20 deletions
+11
-20
include/vlc_picture.h
include/vlc_picture.h
+0
-9
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/misc/picture.c
src/misc/picture.c
+11
-10
No files found.
include/vlc_picture.h
View file @
7090b8ef
...
...
@@ -150,15 +150,6 @@ typedef struct
*/
VLC_API
picture_t
*
picture_NewFromResource
(
const
video_format_t
*
,
const
picture_resource_t
*
)
VLC_USED
;
/**
* This function will force the destruction a picture.
* The value of the picture reference count should be 0 before entering this
* function.
* Unless used for reimplementing pf_release, you should not use this
* function but picture_Release.
*/
VLC_API
void
picture_Delete
(
picture_t
*
);
/**
* This function will increase the picture reference count.
* It will not have any effect on picture obtained from vout
...
...
src/libvlccore.sym
View file @
7090b8ef
...
...
@@ -309,7 +309,6 @@ osd_Volume
path_sanitize
picture_BlendSubpicture
picture_CopyPixels
picture_Delete
picture_Hold
picture_Release
picture_IsReferenced
...
...
src/misc/picture.c
View file @
7090b8ef
...
...
@@ -92,6 +92,17 @@ static int AllocatePicture( picture_t *p_pic,
/*****************************************************************************
*
*****************************************************************************/
static
void
picture_Delete
(
picture_t
*
p_picture
)
{
assert
(
p_picture
&&
p_picture
->
i_refcount
==
0
);
assert
(
p_picture
->
p_release_sys
==
NULL
);
free
(
p_picture
->
p_q
);
vlc_free
(
p_picture
->
p_data_orig
);
free
(
p_picture
->
p_sys
);
free
(
p_picture
);
}
static
void
PictureReleaseCallback
(
picture_t
*
p_picture
)
{
if
(
--
p_picture
->
i_refcount
>
0
)
...
...
@@ -267,16 +278,6 @@ picture_t *picture_New( vlc_fourcc_t i_chroma, int i_width, int i_height, int i_
/*****************************************************************************
*
*****************************************************************************/
void
picture_Delete
(
picture_t
*
p_picture
)
{
assert
(
p_picture
&&
p_picture
->
i_refcount
==
0
);
assert
(
p_picture
->
p_release_sys
==
NULL
);
free
(
p_picture
->
p_q
);
vlc_free
(
p_picture
->
p_data_orig
);
free
(
p_picture
->
p_sys
);
free
(
p_picture
);
}
picture_t
*
picture_Hold
(
picture_t
*
p_picture
)
{
...
...
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