Commit e60fe69d authored by Christophe Massiot's avatar Christophe Massiot

Removed deprecated code and structures.

parent fb5aad8d
......@@ -2,7 +2,7 @@
* lpcm_decoder_thread.c: lpcm decoder thread
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: lpcm_decoder_thread.c,v 1.17 2001/09/06 04:28:36 henri Exp $
* $Id: lpcm_decoder_thread.c,v 1.18 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 );
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment