X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fac3_decoder%2Fac3_decoder_thread.h;h=600a2555166295a77f4182f9c8c9acad61a36655;hb=bee557f98039f3af8f3d69715b8ba4f5b4f242fd;hp=bbc55d45b98a64c4d5cb422c00cbf300da5db23d;hpb=dc804fe5e107ee240b89daa3b5c85da8ca029380;p=vlc diff --git a/src/ac3_decoder/ac3_decoder_thread.h b/src/ac3_decoder/ac3_decoder_thread.h index bbc55d45b9..600a255516 100644 --- a/src/ac3_decoder/ac3_decoder_thread.h +++ b/src/ac3_decoder/ac3_decoder_thread.h @@ -2,9 +2,9 @@ * ac3_decoder_thread.h : ac3 decoder thread interface ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN + * $Id: ac3_decoder_thread.h,v 1.10 2001/10/30 19:34:53 reno Exp $ * - * Authors: - * Michel Kaempf + * Authors: Michel Kaempf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,34 +24,30 @@ /***************************************************************************** * ac3dec_thread_t : ac3 decoder thread descriptor *****************************************************************************/ + typedef struct ac3dec_thread_s { + /* + * Decoder properties + */ + ac3dec_t * ac3_decoder; + /* * Thread properties */ vlc_thread_t thread_id; /* id for thread functions */ - boolean_t b_die; /* `die' flag */ - boolean_t b_error; /* `error' flag */ /* * Input properties */ decoder_fifo_t * p_fifo; /* stores the PES stream data */ - data_packet_t * p_data; - int sync_ptr; /* sync ptr from ac3 magic header */ + int sync_ptr; /* sync ptr from ac3 magic header */ adec_config_t * p_config; - /* - * Decoder properties - */ - - ac3dec_t ac3_decoder; - /* * Output properties */ aout_fifo_t * p_aout_fifo; /* stores the decompressed audio frames */ - aout_thread_t * p_aout; /* needed to create the audio fifo */ } ac3dec_thread_t;