From d8caa8ae59a0fd1ab41d800708bd8ca2c9e3f765 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 2 Sep 2003 05:32:30 +0000 Subject: [PATCH] this breaks some AVIs for some reason --- stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp index c38a6777ac..6659c52de9 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp @@ -196,11 +196,6 @@ void MovieTexture_FFMpeg::Create() if ( ret < 0 ) RageException::Throw( averr_ssprintf(ret, "AVCodec: Couldn't open decoder (%i)") ); - /* I think avcodec wants a special case for this (no decoding); I don't - * want to bother. XXX: test and see if this is really needed */ - if (m_stream->codec.codec_id == avcodec::CODEC_ID_RAWVIDEO) - RageException::Throw("AVCodec: Can't handle raw video" ); - /* Cap the max texture size to the hardware max. */ actualID.iMaxSize = min( actualID.iMaxSize, DISPLAY->GetMaxTextureSize() );