diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-06 19:10:10 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-06 19:10:10 +0000 |
commit | 28172c6414fb4132957e32784d175450b45af8b7 (patch) | |
tree | d5d049cf6847976048ed505ef1867a5a0d44858c | |
parent | 7a275b37fc96b4b0e6619dfb210628c1d6365c5f (diff) | |
download | xine-lib-28172c6414fb4132957e32784d175450b45af8b7.tar.gz xine-lib-28172c6414fb4132957e32784d175450b45af8b7.tar.bz2 |
should fix audio vpts error on seeks
CVS patchset: 3449
CVS date: 2002/12/06 19:10:10
-rw-r--r-- | src/libw32dll/w32codec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c index 7e6e772af..7591ba4dd 100644 --- a/src/libw32dll/w32codec.c +++ b/src/libw32dll/w32codec.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: w32codec.c,v 1.105 2002/12/06 01:44:07 miguelfreitas Exp $ + * $Id: w32codec.c,v 1.106 2002/12/06 19:10:10 miguelfreitas Exp $ * * routines for using w32 codecs * DirectShow support by Miguel Freitas (Nov/2001) @@ -982,7 +982,7 @@ static void w32a_discontinuity (audio_decoder_t *this_gen) { w32a_decoder_t *this = (w32a_decoder_t *) this_gen; - this->pts = 0; + this->pts = this->lastpts = this->sumpts = this->sumsize = 0; } static int w32a_init_audio (w32a_decoder_t *this, buf_element_t *buf ) { @@ -1099,6 +1099,7 @@ static int w32a_init_audio (w32a_decoder_t *this, buf_element_t *buf ) { this->outsize = out_size; this->size = 0; + this->pts = this->lastpts = this->sumpts = this->sumsize = 0; free(in_fmt); |