[xiph-commits] r11877 - trunk/oggdsf/src/lib/codecs/flac/libs/libflac/src/libFLAC

illiminable at svn.xiph.org illiminable at svn.xiph.org
Mon Oct 2 09:00:13 PDT 2006


Author: illiminable
Date: 2006-10-02 09:00:05 -0700 (Mon, 02 Oct 2006)
New Revision: 11877

Modified:
   trunk/oggdsf/src/lib/codecs/flac/libs/libflac/src/libFLAC/stream_decoder.c
Log:
* Patch that really annoying flac bug again, which manifests itself in strange ways in the directshow filter.
* Fixes the bug where WMP when in repeat mode, will play silence the second time through.


Modified: trunk/oggdsf/src/lib/codecs/flac/libs/libflac/src/libFLAC/stream_decoder.c
===================================================================
--- trunk/oggdsf/src/lib/codecs/flac/libs/libflac/src/libFLAC/stream_decoder.c	2006-10-02 11:22:46 UTC (rev 11876)
+++ trunk/oggdsf/src/lib/codecs/flac/libs/libflac/src/libFLAC/stream_decoder.c	2006-10-02 16:00:05 UTC (rev 11877)
@@ -594,6 +594,9 @@
 	}
 	decoder->private_->last_frame_number = 0;
 	decoder->private_->last_block_size = 0;
+
+    //Inserted by Zen
+    decoder->private_->samples_decoded = 0;
 	decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
 
 	return true;



More information about the commits mailing list