diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-05 20:38:31 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-05 20:38:31 +0300 |
commit | 0ade815affb7f297e2e85b105e6ddd35be3f5fdb (patch) | |
tree | 362c8bae20314caf63a03ae51550ca2a76b0955f /source/gameengine/VideoTexture/VideoFFmpeg.cpp | |
parent | 8916f84622ccadbbb4111b03117cc6cc9ad9fe0a (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.
Diffstat (limited to 'source/gameengine/VideoTexture/VideoFFmpeg.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/VideoFFmpeg.cpp | 2 |
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 |