Menu

#114 Arch Build error: FF_PROFILE_AAC_LOW & FF_PROFILE_AAC_HE_V2 undeclared

v1.0 (example)
open-fixed
None
5
2026-01-10
2025-10-04
Moonbase
No

Again IDJC (AUR) on Arch-based EndeavourOS.

Getting several deprecation warnings plus two errors:

live_aac_encoder.c: In function 'setup':
live_aac_encoder.c:447:23: error: 'FF_PROFILE_AAC_LOW' undeclared (first use in this function); did you mean 'AV_PROFILE_AAC_LOW'?
  447 |             profile = FF_PROFILE_AAC_LOW;
      |                       ^~~~~~~~~~~~~~~~~~
      |                       AV_PROFILE_AAC_LOW
live_aac_encoder.c:447:23: note: each undeclared identifier is reported only once for each function it appears in
live_aac_encoder.c:452:23: error: 'FF_PROFILE_AAC_HE_V2' undeclared (first use in this function); did you mean 'AV_PROFILE_AAC_HE_V2'?
  452 |             profile = FF_PROFILE_AAC_HE_V2;
      |                       ^~~~~~~~~~~~~~~~~~~~
      |                       AV_PROFILE_AAC_HE_V2
make[2]: *** [Makefile:946: idjc_la-live_aac_encoder.lo] Fehler 1
make[2]: Verzeichnis /home/matthias/.cache/yay/idjc/src/idjc-0.9.9/c wird verlassen
make[1]: *** [Makefile:678: all-recursive] Fehler 1
make[1]: Verzeichnis /home/matthias/.cache/yay/idjc/src/idjc-0.9.9 wird verlassen
make: *** [Makefile:483: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
 -> Fehler beim Erstellen: idjc-exit status 4
 -> Die folgenden Pakete konnten nicht installiert werden. Ein manueller Eingriff ist erforderlich:
idjc - exit status 4

Complete console output attached.

1 Attachments

Discussion

  • Stephen Fairchild

    • status: open --> closed-fixed
     
  • Stephen Fairchild

    Fixed in git sources.

     
  • Stephen Fairchild

    Also new version 0.9.10 released.

     
  • Magnus Holmgren

    Magnus Holmgren - 2026-01-06

    This bug came back in 0.9.11 with the new live_aac_encoder2.c. Apparently the AV_PROFILE_ macros were added relatively recently (in v6.1 in 2023) and the old FF_PROFILE_ macros were removed in v8.0. Since you're using the newer macros in profiles[], I figure you might as well use them in live_aac_encoder2_profiles(). Not sure what good the "ok to remove in year 2027" conditional defines do, as I think you'd need to cover all six macros, not just two of them.

     
  • Stephen Fairchild

    • status: closed-fixed --> open-fixed
    • assigned_to: Stephen Fairchild
     
  • Stephen Fairchild

    Pushed out an emergency IDJC update to version 0.9.12 to hopefully deal with this.

     

Log in to post a comment.

MongoDB Logo MongoDB