diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2006-05-07 09:31:57 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2006-05-07 09:31:57 +0000 |
commit | 3b1dc58073ea3ededb67ca672dedf62b2471590f (patch) | |
tree | c46b127b630f18638d3a6295625c064f6ab404ce /src/libw32dll/w32codec.c | |
parent | 855fca8b75c5734fba4b9065750fbd52848c41ae (diff) | |
download | xine-lib-3b1dc58073ea3ededb67ca672dedf62b2471590f.tar.gz xine-lib-3b1dc58073ea3ededb67ca672dedf62b2471590f.tar.bz2 |
Setup FS segment to make win32 gods happy with the smiley red deamon.
(fixed multithread audio and video playback on FreeBSD with different LDTs)
One coverity fix.
CVS patchset: 7988
CVS date: 2006/05/07 09:31:57
Diffstat (limited to 'src/libw32dll/w32codec.c')
-rw-r--r-- | src/libw32dll/w32codec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c index de3927abc..d567b9183 100644 --- a/src/libw32dll/w32codec.c +++ b/src/libw32dll/w32codec.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2003 the xine project + * Copyright (C) 2000-2006 the xine project * * This file is part of xine, a free video player. * @@ -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: w32codec.c,v 1.151 2006/05/03 19:46:08 dsalt Exp $ + * $Id: w32codec.c,v 1.152 2006/05/07 09:31:57 valtri Exp $ * * routines for using w32 codecs * DirectShow support by Miguel Freitas (Nov/2001) @@ -856,7 +856,7 @@ static void w32v_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { vo_frame_t *img; uint8_t *img_buffer = this->img_buffer; - Check_FS_Segment(); + Check_FS_Segment(this->ldt_fs); /* decoder video frame */ @@ -1494,7 +1494,7 @@ static void w32a_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { if( (int)buf->size <= 0 ) return; - Check_FS_Segment(); + Check_FS_Segment(this->ldt_fs); w32a_decode_audio (this, buf->content, buf->size, buf->decoder_flags & BUF_FLAG_FRAME_END, |