On 2022-02-28 22:23, Mamoru TASAKA
wrote:
Luya
Tshimbalanga wrote on 2022/03/01 15:11:
Hello team,
Blender failed to build with enabled FFMPEG support using
ffmpeg-free-devel at the following line:
'''
/builddir/build/BUILD/blender-3.0.1/extern/audaspace/plugins/ffmpeg/FFMPEGReader.cpp:
In member function 'void aud::FFMPEGReader::init(int)':
/builddir/build/BUILD/blender-3.0.1/extern/audaspace/plugins/ffmpeg/FFMPEGReader.cpp:180:47:
error: invalid conversion from 'const AVCodec*' to 'AVCodec*'
[-fpermissive]
180 | AVCodec* aCodec =
avcodec_find_decoder(m_formatCtx->streams[m_stream]->codecpar->codec_id);
|
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const
AVCodec*
gmake[2]: ***
[extern/audaspace/CMakeFiles/audaspace.dir/build.make:1549:
extern/audaspace/CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEGReader.cpp.o]
Error 1
'''
Could someone handle the AVCodec issue please?
Available scratch-build result:
https://koji.fedoraproject.org/koji/taskinfo?taskID=83496011
Thanks in advance.
Change to const AVCodec* aCodec = avcodec_find_decoder(....
ref:
https://github.com/blender/blender/commit/af6a1b08e3f0d0070ac9423868d2d3f81057717a
Thanks! Next step is to remove libavdevice.h from Blender as
ffmpeg-free excluded it.
Scratch result with applied patch so far:
https://koji.fedoraproject.org/koji/taskinfo?taskID=83502291
Scratch result with removed libavdecice.h:
https://koji.fedoraproject.org/koji/taskinfo?taskID=83503990
--
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer
|
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure