1 diff -r dfb471448009 src/arch/MovieTexture/MovieTexture_FFMpeg.cpp
2 --- a/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp Tue Apr 05 22:41:41 2011 -0400
3 +++ b/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp Thu Apr 07 18:06:03 2011 +0300
5 #if defined(MACOSX) || defined(_MSC_VER) // still using older ffmpeg versions
6 int URLRageFile_write( avcodec::URLContext *h, unsigned char *buf, int size )
7 #else // assume ffmpeg 0.6 on *nix
8 - int URLRageFile_write( avcodec::URLContext *h, unsigned char *buf, int size )
9 + int URLRageFile_write( avcodec::URLContext *h, const unsigned char *buf, int size )
12 RageFileBasic *f = (RageFileBasic *) h->priv_data;