]> git.pld-linux.org Git - packages/avifile.git/blame - avifile-compile.patch
- enhanced ffmpeg patch to cover 4.x
[packages/avifile.git] / avifile-compile.patch
CommitLineData
e1e66f8e
SS
1--- avifile-0.7-0.7.45/plugins/libffmpeg/FFAudioDecoder.cpp.orig 2006-12-21 19:14:53.000000000 +0000
2+++ avifile-0.7-0.7.45/plugins/libffmpeg/FFAudioDecoder.cpp 2006-12-21 19:15:23.000000000 +0000
3@@ -37,7 +37,7 @@
4
5 if (m_pFormat->cbSize > 0)
6 {
7- m_pAvContext->extradata = (char*)(m_pFormat + 1);
8+ m_pAvContext->extradata = (uint8_t*)(m_pFormat + 1);
9 m_pAvContext->extradata_size = m_pFormat->cbSize;
10 }
11
12--- avifile-0.7-0.7.45/plugins/libffmpeg/FFVideoDecoder.cpp.orig 2006-12-21 19:18:08.000000000 +0000
13+++ avifile-0.7-0.7.45/plugins/libffmpeg/FFVideoDecoder.cpp 2006-12-21 19:19:09.000000000 +0000
14@@ -197,7 +197,7 @@
15 )
16 {
17 m_pAvContext->extradata_size = m_pFormat->biSize - sizeof(BITMAPINFOHEADER);
18- m_pAvContext->extradata = (char*) m_pFormat + sizeof(BITMAPINFOHEADER);
19+ m_pAvContext->extradata = (uint8_t*) m_pFormat + sizeof(BITMAPINFOHEADER);
20 if (m_pAvContext->extradata_size > 40)
21 m_pAvContext->flags |= CODEC_FLAG_EXTERN_HUFF; // somewhat useless
22 }
This page took 0.059677 seconds and 4 git commands to generate.