Opened 4 weeks ago

Closed 4 weeks ago

#2418 closed defect (fixed)

libmpcodecs/ae_lavc.c:241:112: error: 'AVCodecContext' has no member named 'channels'

Reported by: bug Owned by: beastd
Priority: normal Component: libavcodec
Version: HEAD Severity: blocker
Keywords: Cc: bug
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug: Compilation in MSYS2 with GCC 13.2 fails, apparently in audio related code of libavcodec.

How to reproduce:
See attached log file.

Attachments (1)

ab-suite.install.log (41.8 KB ) - added by bug 4 weeks ago.
make install log recorded by media-autobuild suite

Download all attachments as: .zip

Change History (4)

by bug, 4 weeks ago

Attachment: ab-suite.install.log added

make install log recorded by media-autobuild suite

comment:1 by beastd, 4 weeks ago

Thanks for the report!

This is due to recent FFmpeg changes.
That error in particular is related to the library major bumps, where the old channel layout interface was removed.

There are patches on the developer mailing list[1] and the build problems should be fixed after the patches are committed to SVN.

1: [RFC][PATCH 0/8] Adjustments for current FFmpeg git including major bumps https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2024-April/thread.html#74132

comment:2 by beastd, 4 weeks ago

Status: newopen

comment:3 by beastd, 4 weeks ago

Resolution: fixed
Status: openclosed

Mentioned patches are committed.

Should be fixed starting with MPlayer SVN r38458 .

I'm closing the ticket, but please re-open if the build is still failing for you.

Note: See TracTickets for help on using tickets.