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.

This commit is contained in:
Benoit Bolsee 2008-11-05 17:38:31 +00:00
parent 8916f84622
commit 0ade815aff

@ -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