does not build with ffmpeg 0.11.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ren'Py |
Fix Released
|
Medium
|
Tom Rothamel | ||
Arch Linux |
New
|
Undecided
|
Unassigned |
Bug Description
Renpy version: 6.13.12
FFmpeg version: 0.11.1 (just in case: Arch Linux FFmpeg package - https:/
building 'pysdlsound.sound' extension
gcc -pthread -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=
gen/pysdlsound.
gen/pysdlsound.
gcc -pthread -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=
gcc -pthread -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=
gcc -pthread -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=
ffdecode.c:197:5: error: unknown type name 'ByteIOContext'
ffdecode.c:245:32: error: 'FF_ER_CAREFUL' undeclared here (not in a function)
ffdecode.c:287:1: error: unknown type name 'ByteIOContext'
ffdecode.c: In function 'rwops_open':
ffdecode.c:290:5: error: unknown type name 'ByteIOContext'
ffdecode.c:290:25: warning: initialization makes pointer from integer without a cast [enabled by default]
ffdecode.c: In function 'audio_
ffdecode.c:1539:13: warning: 'avcodec_
ffdecode.c:1561:59: error: 'SAMPLE_FMT_S16' undeclared (first use in this function)
ffdecode.c:1561:59: note: each undeclared identifier is reported only once for each function it appears in
ffdecode.c: In function 'stream_
ffdecode.c:1819:8: error: 'AVCodecContext' has no member named 'error_recognition'
ffdecode.c:1828:5: warning: 'avcodec_open' is deprecated (declared at /usr/include/
ffdecode.c: In function 'dump_stream_info':
ffdecode.c:1956:5: error: unknown type name 'AVMetadataTag'
ffdecode.c:1957:52: error: 'AV_METADATA_
ffdecode.c:1958:40: error: request for member 'key' in something not a structure or union
ffdecode.c:1958:50: error: request for member 'value' in something not a structure or union
ffdecode.c: In function 'decode_thread':
ffdecode.c:1971:5: error: unknown type name 'AVFormatParame
ffdecode.c:1975:5: error: unknown type name 'ByteIOContext'
ffdecode.c:1995:7: error: request for member 'width' in something not a structure or union
ffdecode.c:1996:7: error: request for member 'height' in something not a structure or union
ffdecode.c:1997:7: error: request for member 'time_base' in something not a structure or union
ffdecode.c:1998:7: error: request for member 'pix_fmt' in something not a structure or union
ffdecode.c:2053:5: warning: 'av_find_
ffdecode.c:2281:27: error: request for member 'buffer' in something not a structure or union
I've made several changes in 6.14 to remove the use of deprecated code from ffdecode.c.
ffdecode.c now compiles without warnings using libav, and will likely compile with ffmpeg.
You can check out the changes at the main Ren'Py branch, which is now hosted at github.