View Issue Details

IDProjectCategoryView StatusLast Update
0032871CommunityOCCT:Configurationpublic2022-03-14 09:33
Reporterkgv Assigned Tokgv  
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version7.6.0 
Target Version7.7.0 
Summary0032871: Configuration, Media_FormatContext - compilation fails with FFmpeg 5.0
DescriptionCompilation fails with FFmpeg-5.0
https://bugs.gentoo.org/834422
FAILED: src/TKService/CMakeFiles/TKService.dir/__/Media/Media_FormatContext.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_FFMPEG -DHAVE_FREETYPE -DHAVE_OPENGL_EXT -DHAVE_TK -DHAVE_XLIB -DOCC_CONVERT_SIGNALS -DTKService_EXPORTS -I/usr/include/freetype2 -I/var/tmp/portage-ondisk/portage/sci-libs/opencascade-7.6.1/work/occt-V7_6_1_build/include/opencascade  -std=c++0x -O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check -fexceptions -fPIC -Wall -Wextra -fPIC -MD -MT src/TKService/CMakeFiles/TKService.dir/__/Media/Media_FormatContext.cxx.o -MF src/TKService/CMakeFiles/TKService.dir/__/Media/Media_FormatContext.cxx.o.d -o src/TKService/CMakeFiles/TKService.dir/__/Media/Media_FormatContext.cxx.o -c /var/tmp/portage-ondisk/portage/sci-libs/opencascade-7.6.1/work/occt-V7_6_1/src/Media/Media_FormatContext.cxx
/var/tmp/portage-ondisk/portage/sci-libs/opencascade-7.6.1/work/occt-V7_6_1/src/Media/Media_FormatContext.cxx: In member function ‘TCollection_AsciiString Media_FormatContext::StreamInfo(unsigned int, AVCodecContext*) const’:
/var/tmp/portage-ondisk/portage/sci-libs/opencascade-7.6.1/work/occt-V7_6_1/src/Media/Media_FormatContext.cxx:413:25: error: ‘const AVStream’ {aka ‘const struct AVStream’} has no member named ‘codec’
  413 |     aCodecCtx = aStream.codec;
TagsNo tags attached.
Test case number

Relationships

child of 0030612 closedapn Open CASCADE Visualization - provide texture map with video as image source 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-03-14 09:32 kgv New Issue
2022-03-14 09:32 kgv Assigned To => kgv
2022-03-14 09:33 kgv Summary Configuration - compilation fails with FFmpeg 5.0 => Configuration, Media_FormatContext - compilation fails with FFmpeg 5.0
2022-03-14 09:33 kgv Relationship added child of 0030612