[xiph-commits] r10944 -
trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder
illiminable at svn.xiph.org
illiminable at svn.xiph.org
Thu Feb 23 06:02:38 PST 2006
Author: illiminable
Date: 2006-02-23 06:02:32 -0800 (Thu, 23 Feb 2006)
New Revision: 10944
Modified:
trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeFilter.cpp
Log:
* Check in double release from yesterday
Modified: trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeFilter.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeFilter.cpp 2006-02-23 11:51:44 UTC (rev 10943)
+++ trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeFilter.cpp 2006-02-23 14:02:32 UTC (rev 10944)
@@ -453,12 +453,14 @@
debugLog<<"Theora::Receive - Delivering: "<<locAdjustedStart<<" to "<<locAdjustedEnd<<(locIsKeyFrame ? "KEYFRAME": " ")<<endl;
locHR = m_pOutput->Deliver(locOutSample);
- locOutSample->Release();
+ ULONG locTempRefCount = locOutSample->Release();
+ debugLog<<"Theora::Receive - After deliver refcount = "<<locTempRefCount<<endl;
debugLog<<"Theora::Receive - Post delivery"<<endl;
if (locHR != S_OK) {
//XTODO::: We need to trash our buffered packets
debugLog<<"Theora::Receive - Delivery failed"<<endl;
- locOutSample->Release();
+ debugLog<<"Theora::Receive - locHR = "<<locHR<<endl;
+ //locOutSample->Release();
deleteBufferedPacketsAfter(i);
return S_FALSE;
}
More information about the commits
mailing list