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
59090743
Commit
59090743
authored
Jun 30, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dummy p_sys variable.
parent
944b1484
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
20 deletions
+2
-20
modules/video_filter/blend.c
modules/video_filter/blend.c
+2
-20
No files found.
modules/video_filter/blend.c
View file @
59090743
/*****************************************************************************
* blend.c: alpha blend 2 pictures together
*****************************************************************************
* Copyright (C) 2003-200
8
the VideoLAN team
* Copyright (C) 2003-200
9
the VideoLAN team
* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
...
...
@@ -46,15 +46,6 @@ vlc_module_begin ()
set_callbacks
(
OpenFilter
,
CloseFilter
)
vlc_module_end
()
/*****************************************************************************
* filter_sys_t : filter descriptor
*****************************************************************************/
struct
filter_sys_t
{
int
i_dummy
;
};
#define FCC_YUVA VLC_CODEC_YUVA
#define FCC_YUVP VLC_CODEC_YUVP
#define FCC_RGBA VLC_CODEC_RGBA
...
...
@@ -122,7 +113,6 @@ static void BlendRGBAR24( filter_t *, picture_t *, const picture_t *,
static
int
OpenFilter
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
;
/* Check if we can handle that format.
* We could try to use a chroma filter if we can't. */
...
...
@@ -140,11 +130,6 @@ static int OpenFilter( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
/* Allocate the memory needed to store the decoder's structure */
p_filter
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
filter_sys_t
));
if
(
!
p_sys
)
return
VLC_ENOMEM
;
/* Misc init */
p_filter
->
pf_video_blend
=
Blend
;
...
...
@@ -160,10 +145,7 @@ static int OpenFilter( vlc_object_t *p_this )
*****************************************************************************/
static
void
CloseFilter
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
free
(
p_sys
);
(
void
)
p_this
;
}
/****************************************************************************
...
...
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