From d2d6e66b3c92866535833faa361838d6b87e7299 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 21 May 2010 20:17:46 -0500 Subject: [PATCH] Add howl's correspondence to my initial comment (asking about nulls) --- src/arch/MovieTexture/MovieTexture_FFMpeg.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp b/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp index 6a4c70ad75..5f98223fa5 100644 --- a/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp +++ b/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp @@ -723,8 +723,13 @@ static avcodec::URLProtocol RageProtocol = URLRageFile_write, URLRageFile_seek, URLRageFile_close, + // why were these two nulls added? -aj + // I added them because the last api of ffmpeg spects them to be, you could + // avoid them and I think it could result in compiler warnings, but the + // correct code is theese NULLS to be there. - howl (quote from + // http://www.stepmania.com/forums/showpost.php?p=168832&postcount=37) #if !defined(MACOSX) - NULL, // why were these two nulls added? -aj + NULL, NULL, #endif NULL