diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-07 20:23:54 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-07 20:23:54 +0000 |
commit | ff607a22a5d0b6bb793ae86f556ada022bf852cc (patch) | |
tree | 37e111afa9075a726405df9290f90fe650cb7d33 /src/libmpeg2/xine_decoder.c | |
parent | 9d5ad23abdc5e9a67975bfab58fea5b8b3bd0120 (diff) | |
download | xine-lib-ff607a22a5d0b6bb793ae86f556ada022bf852cc.tar.gz xine-lib-ff607a22a5d0b6bb793ae86f556ada022bf852cc.tar.bz2 |
w32codec bugfixes
CVS patchset: 132
CVS date: 2001/06/07 20:23:54
Diffstat (limited to 'src/libmpeg2/xine_decoder.c')
-rw-r--r-- | src/libmpeg2/xine_decoder.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libmpeg2/xine_decoder.c b/src/libmpeg2/xine_decoder.c index 132c1f81a..ce4788d85 100644 --- a/src/libmpeg2/xine_decoder.c +++ b/src/libmpeg2/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.5 2001/05/24 21:41:27 guenter Exp $ + * $Id: xine_decoder.c,v 1.6 2001/06/07 20:23:54 guenter Exp $ * * stuff needed to turn libmpeg2 into a xine decoder plugin */ @@ -38,12 +38,12 @@ typedef struct mpeg2dec_decoder_s { vo_instance_t *video_out; } mpeg2dec_decoder_t; -int mpeg2dec_can_handle (video_decoder_t *this_gen, int buf_type) { +static int mpeg2dec_can_handle (video_decoder_t *this_gen, int buf_type) { return ((buf_type & 0xFFFF0000) == BUF_VIDEO_MPEG) ; } -void mpeg2dec_init (video_decoder_t *this_gen, vo_instance_t *video_out) { +static void mpeg2dec_init (video_decoder_t *this_gen, vo_instance_t *video_out) { mpeg2dec_decoder_t *this = (mpeg2dec_decoder_t *) this_gen; @@ -52,14 +52,14 @@ void mpeg2dec_init (video_decoder_t *this_gen, vo_instance_t *video_out) { this->video_out = video_out; } -void mpeg2dec_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { +static void mpeg2dec_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { mpeg2dec_decoder_t *this = (mpeg2dec_decoder_t *) this_gen; mpeg2_decode_data (&this->mpeg2, buf->content, buf->content + buf->size, buf->PTS); } -void mpeg2dec_close (video_decoder_t *this_gen) { +static void mpeg2dec_close (video_decoder_t *this_gen) { mpeg2dec_decoder_t *this = (mpeg2dec_decoder_t *) this_gen; |