Fixes and improvements
[anna.git] / source / diameter / codec / EngineManager.cpp
index 2eb6f78..f3f505e 100644 (file)
@@ -22,7 +22,8 @@ Engine *EngineManager::getCodecEngine(const ApplicationId &appid) const throw()
   if (it != a_appid_codec_engines.end())
     return it->second;
 
-  return NULL;
+  // Just in case:
+  return getMonoStackCodecEngine();
 }
 
 void EngineManager::registerCodecEngine(const ApplicationId &appid, Engine* engine) throw() {