Fixed crashes for Video with no content

This commit is contained in:
Otger
2015-11-23 21:46:55 +01:00
parent f94bc8d66e
commit c876dce82b
2 changed files with 1 additions and 2 deletions

View File

@@ -1499,7 +1499,7 @@ private:
path.Set(tex->RelativeFilename());
const Video* media = tex->Media();
if(media != 0) {
if(media != 0 && media->ContentLength() > 0) {
unsigned int index;
VideoMap::const_iterator it = textures_converted.find(media);