[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17336] trunk/blender/source/gameengine/ VideoTexture/VideoFFmpeg.cpp: VideoTexture: fixing a crash when loading an image as a video file - yes it works, provided that you don' t set repeat and also no need to refresh all the time.
Benoit Bolsee
benoit.bolsee at online.be
Wed Nov 5 18:38:34 CET 2008
Revision: 17336
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17336
Author: ben2610
Date: 2008-11-05 18:38:31 +0100 (Wed, 05 Nov 2008)
Log Message:
-----------
VideoTexture: fixing a crash when loading an image as a video file - yes it works, provided that you don't set repeat and also no need to refresh all the time.
Modified Paths:
--------------
trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp
Modified: trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp 2008-11-05 15:11:40 UTC (rev 17335)
+++ trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp 2008-11-05 17:38:31 UTC (rev 17336)
@@ -255,7 +255,7 @@
if (
#ifdef FFMPEG_PB_IS_POINTER
- m_formatCtx->pb->is_streamed
+ m_formatCtx->pb && m_formatCtx->pb->is_streamed
#else
m_formatCtx->pb.is_streamed
#endif
More information about the Bf-blender-cvs
mailing list