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
e60fe69d
Commit
e60fe69d
authored
Nov 06, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed deprecated code and structures.
parent
fb5aad8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
21 deletions
+3
-21
src/lpcm_decoder/lpcm_decoder_thread.c
src/lpcm_decoder/lpcm_decoder_thread.c
+2
-19
src/lpcm_decoder/lpcm_decoder_thread.h
src/lpcm_decoder/lpcm_decoder_thread.h
+1
-2
No files found.
src/lpcm_decoder/lpcm_decoder_thread.c
View file @
e60fe69d
...
...
@@ -2,7 +2,7 @@
* lpcm_decoder_thread.c: lpcm decoder thread
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: lpcm_decoder_thread.c,v 1.1
7 2001/09/06 04:28:36 henri
Exp $
* $Id: lpcm_decoder_thread.c,v 1.1
8 2001/11/06 18:13:21 massiot
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Henri Fallon <henri@videolan.org>
...
...
@@ -108,24 +108,6 @@ static int InitThread (lpcmdec_thread_t * p_lpcmdec)
intf_DbgMsg
(
"lpcm Debug: initializing lpcm decoder thread %p"
,
p_lpcmdec
);
/* Our first job is to initialize the bit stream structure with the
* beginning of the input stream */
vlc_mutex_lock
(
&
p_lpcmdec
->
p_fifo
->
data_lock
);
while
(
DECODER_FIFO_ISEMPTY
(
*
p_lpcmdec
->
p_fifo
))
{
if
(
p_lpcmdec
->
p_fifo
->
b_die
)
{
vlc_mutex_unlock
(
&
p_lpcmdec
->
p_fifo
->
data_lock
);
return
-
1
;
}
vlc_cond_wait
(
&
p_lpcmdec
->
p_fifo
->
data_wait
,
&
p_lpcmdec
->
p_fifo
->
data_lock
);
}
p_lpcmdec
->
p_data
=
DECODER_FIFO_START
(
*
p_lpcmdec
->
p_fifo
)
->
p_first
;
vlc_mutex_unlock
(
&
p_lpcmdec
->
p_fifo
->
data_lock
);
/* Init the BitStream */
p_lpcmdec
->
p_config
->
decoder_config
.
pf_init_bit_stream
(
&
p_lpcmdec
->
bit_stream
,
...
...
@@ -139,6 +121,7 @@ static int InitThread (lpcmdec_thread_t * p_lpcmdec)
{
return
-
1
;
}
intf_DbgMsg
(
"LPCM Debug: lpcm decoder thread %p initialized
\n
"
,
p_lpcmdec
);
return
(
0
);
...
...
src/lpcm_decoder/lpcm_decoder_thread.h
View file @
e60fe69d
...
...
@@ -2,7 +2,7 @@
* lpcm_decoder_thread.h : lpcm decoder thread interface
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: lpcm_decoder_thread.h,v 1.
6 2001/06/12 13:50:09 henri
Exp $
* $Id: lpcm_decoder_thread.h,v 1.
7 2001/11/06 18:13:21 massiot
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -38,7 +38,6 @@ typedef struct lpcmdec_thread_s
* Input properties
*/
decoder_fifo_t
*
p_fifo
;
/* stores the PES stream data */
data_packet_t
*
p_data
;
int
sync_ptr
;
/* sync ptr from lpcm magic header */
adec_config_t
*
p_config
;
...
...
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