[Sumover-dev] [svn commit] r4696 - in vic/branches/cc: codec

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Wed Mar 17 15:13:56 GMT 2010


Author: soohyunc
Date: Wed Mar 17 15:13:56 2010
New Revision: 4696

Modified:
   vic/branches/cc/codec/encoder-h261.cpp
   vic/branches/cc/module.h

Log:
bug fix:
there was a mistake in declaring virtual method between Module and H261Encoder:
accidently missed placing 'virtual' at H261Encoder side.



Modified: vic/branches/cc/codec/encoder-h261.cpp
==============================================================================
--- vic/branches/cc/codec/encoder-h261.cpp	(original)
+++ vic/branches/cc/codec/encoder-h261.cpp	Wed Mar 17 15:13:56 2010
@@ -139,7 +139,7 @@
 	int vfno_;
 
 	// should we suspend grabbing?
-	bool suspend_grabbing();
+	virtual bool suspend_grabbing();
 
     protected:
 	H261Encoder(int ft);

Modified: vic/branches/cc/module.h
==============================================================================
--- vic/branches/cc/module.h	(original)
+++ vic/branches/cc/module.h	Wed Mar 17 15:13:56 2010
@@ -125,7 +125,7 @@
 
 	double offset_;
 	inline double offset() { return offset_; }
-	virtual bool suspend_grabbing() const {};
+	virtual bool suspend_grabbing() {};
 
     protected:
 	Module(int ft);



More information about the Sumover-dev mailing list