diff --git a/Docs/credits.txt b/Docs/credits.txt index 2daa02afa0..ff068464c3 100644 --- a/Docs/credits.txt +++ b/Docs/credits.txt @@ -109,6 +109,10 @@ juanelote NitroX72 * Pump/frame noteskin +Tatsh + * A patch to fix building with system ffmpeg + (http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=218) + ==the beta testers== [SSC Beta Testing Team] KeithD diff --git a/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp b/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp index 14a13567b6..1f5e0f0be7 100644 --- a/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp +++ b/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp @@ -685,7 +685,7 @@ int URLRageFile_read( avcodec::URLContext *h, unsigned char *buf, int size ) return f->Read( buf, size ); } -int URLRageFile_write( avcodec::URLContext *h, unsigned char *buf, int size ) +int URLRageFile_write( avcodec::URLContext *h, const unsigned char *buf, int size ) { RageFileBasic *f = (RageFileBasic *) h->priv_data; return f->Write( buf, size );