[xiph-commits] r10300 - branches/oggdsf_new_demux/src/lib/codecs/theora/filters/dsfTheoraDecoder

illiminable at svn.xiph.org illiminable at svn.xiph.org
Mon Oct 24 15:44:29 PDT 2005


Author: illiminable
Date: 2005-10-24 15:44:25 -0700 (Mon, 24 Oct 2005)
New Revision: 10300

Modified:
   branches/oggdsf_new_demux/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeInputPin.cpp
Log:
* Packets only need to be deleted once

Modified: branches/oggdsf_new_demux/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeInputPin.cpp
===================================================================
--- branches/oggdsf_new_demux/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeInputPin.cpp	2005-10-24 22:40:32 UTC (rev 10299)
+++ branches/oggdsf_new_demux/src/lib/codecs/theora/filters/dsfTheoraDecoder/TheoraDecodeInputPin.cpp	2005-10-24 22:44:25 UTC (rev 10300)
@@ -172,9 +172,10 @@
 		case VSS_ALL_HEADERS_SEEN:
 		case VSS_ERROR:
 		default:
+			delete locStamped;
 			retResult = IOggDecoder::AHR_UNEXPECTED;
 	}
-	delete locStamped;
+	
 	return retResult;
 }
 string TheoraDecodeInputPin::getCodecShortName()



More information about the commits mailing list