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
cbf5dbd5
Commit
cbf5dbd5
authored
Feb 26, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avparser: rename Open and Close functions
parent
426edade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/packetizer/avparser.c
modules/packetizer/avparser.c
+7
-7
No files found.
modules/packetizer/avparser.c
View file @
cbf5dbd5
...
...
@@ -40,15 +40,15 @@
/*****************************************************************************
* Module descriptor
*****************************************************************************/
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
static
int
Open
Packetizer
(
vlc_object_t
*
);
static
void
Close
Packetizer
(
vlc_object_t
*
);
vlc_module_begin
()
set_category
(
CAT_SOUT
)
set_subcategory
(
SUBCAT_SOUT_PACKETIZER
)
set_description
(
N_
(
"avparser packetizer"
)
)
set_capability
(
"packetizer"
,
1
)
set_callbacks
(
Open
,
Close
)
set_callbacks
(
Open
Packetizer
,
ClosePacketizer
)
vlc_module_end
()
/*****************************************************************************
...
...
@@ -64,12 +64,12 @@ struct decoder_sys_t
static
block_t
*
Packetize
(
decoder_t
*
,
block_t
**
);
/*****************************************************************************
* Open: probe the packetizer and return score
* Open
Packetizer
: probe the packetizer and return score
*****************************************************************************
* Tries to launch a decoder and return score so that the interface is able
* to choose.
*****************************************************************************/
static
int
Open
(
vlc_object_t
*
p_this
)
static
int
Open
Packetizer
(
vlc_object_t
*
p_this
)
{
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
decoder_sys_t
*
p_sys
;
...
...
@@ -123,9 +123,9 @@ static int Open( vlc_object_t *p_this )
}
/*****************************************************************************
* Close:
* Close
Packetizer
:
*****************************************************************************/
static
void
Close
(
vlc_object_t
*
p_this
)
static
void
Close
Packetizer
(
vlc_object_t
*
p_this
)
{
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
avcodec_free_context
(
&
p_dec
->
p_sys
->
p_codec_ctx
);
...
...
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