[Bug 290760] cad/opencascade: Calls av_register_all which has been removed from recent FFmpeg

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Nov 2025 22:32:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290760

            Bug ID: 290760
           Summary: cad/opencascade: Calls av_register_all which has been
                    removed from recent FFmpeg
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: thierry@FreeBSD.org
          Reporter: joerg@FreeBSD.org
          Assignee: thierry@FreeBSD.org
             Flags: maintainer-feedback?(thierry@FreeBSD.org)

work/OCCT-7_9_2/src/Image/Image_VideoRecorder.cxx contains:

#ifdef HAVE_FFMPEG
  // initialize libavcodec, and register all codecs and formats, should be done
once
  av_register_all();
#endif

av_register_all() has been deprecated with FFMpeg 4.0, and has now been
removed, causing runtime symbol resolution errors in Kicad's pcbnew.

-- 
You are receiving this mail because:
You are the assignee for the bug.