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 Regards, Mamoru _______________________________________________ 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