this breaks some AVIs for some reason

This commit is contained in:
Glenn Maynard
2003-09-02 05:32:30 +00:00
parent f269a2a73a
commit d8caa8ae59
@@ -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() );