libtheora VS2008 projects have _BIND_TO_CURRENT_CRT_VERSION defined
The Visual Studio 2008 projects for libtheora define _BIND_TO_CURRENT_CRT_VERSION. This causes libtheora to be linked to the C runtime installed on the developer machine instead of the RTM runtime version which is the default when _BIND_TO_CURRENT_CRT_VERSION is not defined. I thinks this is a bug because:
-
I didn't see it for the other xiph libs we are using (vorbis, ogg, oggz).
-
It is more common to link to the RTM version of the runtime because they are available as a installation package and get security fixes and updates from Microsoft via windows update.
-
It changes default behavior and is easy to overlook. We updated libtheora and now 1 month later we realized that our app is not running on client PCs anymore because it links to the runtime that comes with visual studio instead of the one from the redistributable package.