Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-11-05 20:38:31 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2008-11-05 20:38:31 +0300
commit0ade815affb7f297e2e85b105e6ddd35be3f5fdb (patch)
tree362c8bae20314caf63a03ae51550ca2a76b0955f
parent8916f84622ccadbbb4111b03117cc6cc9ad9fe0a (diff)
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.
-rw-r--r--source/gameengine/VideoTexture/VideoFFmpeg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/VideoFFmpeg.cpp b/source/gameengine/VideoTexture/VideoFFmpeg.cpp
index 91b8a54dd86..277ac192686 100644
--- a/source/gameengine/VideoTexture/VideoFFmpeg.cpp
+++ b/source/gameengine/VideoTexture/VideoFFmpeg.cpp
@@ -255,7 +255,7 @@ void VideoFFmpeg::openFile (char * filename)
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