This should fix the GCC 4 build. The avformat code expects a non-const buffer
for the write() hook. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32037 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a717876d04
commit
7a97958b0b
@ -331,7 +331,7 @@ AVFormatWriter::WriteChunk(void* _cookie, const void* chunkBuffer,
|
||||
|
||||
|
||||
/*static*/ int
|
||||
AVFormatWriter::_Write(void* cookie, const uint8* buffer, int bufferSize)
|
||||
AVFormatWriter::_Write(void* cookie, uint8* buffer, int bufferSize)
|
||||
{
|
||||
TRACE_IO("AVFormatWriter::_Write(%p, %p, %d)\n",
|
||||
cookie, buffer, bufferSize);
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
media_encode_info* encodeInfo);
|
||||
|
||||
private:
|
||||
static int _Write(void* cookie, const uint8* buffer,
|
||||
static int _Write(void* cookie, uint8* buffer,
|
||||
int bufferSize);
|
||||
|
||||
static off_t _Seek(void* cookie, off_t offset, int whence);
|
||||
|
Loading…
x
Reference in New Issue
Block a user