This ffmpeg version has a big api change. I'll attach the patch; note that I have *not* upstreamed it as I don't know how you handle your relations with upstream. If you want me to do it, please let me know. This bug will serve me to track the unmasking of ffmpeg from another bug, so please don't close it until it's really ok.
Created attachment 168424 [details, diff] fix it uses offset_t which was typedef'd to int64_t for years; now its gone, it should be safe and backward compatible to directly use int64_t
I've sent upstream a mail and tested and committed this patch.
It does compile, but stepmania still wouldn't play any video. It will crash with the following error in crashlog: Crash reason: Segmentation fault - address not mapped at 0x00000060 Crashed thread: Main thread Checkpoints: Thread: Main thread arch/MovieTexture/MovieTexture_FFMpeg.cpp:365 arch/MovieTexture/MovieTexture_FFMpeg.cpp:293 arch/MovieTexture/MovieTexture_FFMpeg.cpp:353 arch/MovieTexture/MovieTexture_FFMpeg.cpp:365 arch/MovieTexture/MovieTexture_FFMpeg.cpp:700 Thread: Decode thread arch/Sound/RageSoundDriver_Generic_Software.cpp:198 arch/Sound/RageSoundDriver_Generic_Software.cpp:198 arch/Sound/RageSoundDriver_Generic_Software.cpp:198 arch/Sound/RageSoundDriver_Generic_Software.cpp:198 arch/Sound/RageSoundDriver_Generic_Software.cpp:198 Thread: RageSound_ALSA9_Software Thread: MusicThread GameSoundManager.cpp:89 GameSoundManager.cpp:93 GameSoundManager.cpp:87 GameSoundManager.cpp:89 GameSoundManager.cpp:93 Thread: Main thread b76b71a0: (libavcodec.so.52) b7fc87e9: 083dab01: avcodec::img_convert__(avcodec::AVPicture*, int, avcodec::AVPicture const*, int, int, int) 083db37d: MovieTexture_FFMpeg::ConvertFrame() 083ddb57: MovieTexture_FFMpeg::MovieTexture_FFMpeg(RageTextureID) 083d92e1: MakeRageMovieTexture(RageTextureID) 0853d912: RageTextureManager::LoadTextureInternal(RageTextureID) 0853df6c: RageTextureManager::LoadTexture(RageTextureID) I am using ffmpeg-0.4.9_p20081014, and tried ffmpeg-0.4.9_p20081219 which yields the same failure. Is it related to the offset, or is it something else?