fix Mac build with ffmpeg
This commit is contained in:
@@ -685,7 +685,11 @@ int URLRageFile_read( avcodec::URLContext *h, unsigned char *buf, int size )
|
|||||||
return f->Read( buf, size );
|
return f->Read( buf, size );
|
||||||
}
|
}
|
||||||
|
|
||||||
int URLRageFile_write( avcodec::URLContext *h, const unsigned char *buf, int size )
|
#if defined(MACOSX)
|
||||||
|
int URLRageFile_write( avcodec::URLContext *h, unsigned char *buf, int size )
|
||||||
|
#else
|
||||||
|
int URLRageFile_write( avcodec::URLContext *h, const unsigned char *buf, int size )
|
||||||
|
#end
|
||||||
{
|
{
|
||||||
RageFileBasic *f = (RageFileBasic *) h->priv_data;
|
RageFileBasic *f = (RageFileBasic *) h->priv_data;
|
||||||
return f->Write( buf, size );
|
return f->Write( buf, size );
|
||||||
|
|||||||
Reference in New Issue
Block a user