Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707352 - www-client/chromium-81.0.4040.5 USE=system-ffmpeg with <media-video/ffmpeg-9999 - ../../media/ffmpeg/ffmpeg_common.cc:124:10: error: use of undeclared identifier 'AV_CODEC_ID_MPEGH_3D_AUDIO'; did you mean 'AV_CODEC_ID_PAF_AUDIO'?
Summary: www-client/chromium-81.0.4040.5 USE=system-ffmpeg with <media-video/ffmpeg-99...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-30 07:21 UTC by Mike Lothian
Modified: 2020-01-30 09:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2020-01-30 07:21:07 UTC
Build error:

../../media/ffmpeg/ffmpeg_common.cc:124:10: error: use of undeclared identifier 'AV_CODEC_ID_MPEGH_3D_AUDIO'; did you mean 'AV_CODEC_ID_PAF_AUDIO'?
    case AV_CODEC_ID_MPEGH_3D_AUDIO:
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
         AV_CODEC_ID_PAF_AUDIO
/usr/include/libavcodec/avcodec.h:628:5: note: 'AV_CODEC_ID_PAF_AUDIO' declared here
    AV_CODEC_ID_PAF_AUDIO,
    ^
../../media/ffmpeg/ffmpeg_common.cc:180:14: error: use of undeclared identifier 'AV_CODEC_ID_MPEGH_3D_AUDIO'; did you mean 'AV_CODEC_ID_PAF_AUDIO'?
      return AV_CODEC_ID_MPEGH_3D_AUDIO;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
             AV_CODEC_ID_PAF_AUDIO
/usr/include/libavcodec/avcodec.h:628:5: note: 'AV_CODEC_ID_PAF_AUDIO' declared here
    AV_CODEC_ID_PAF_AUDIO,
    ^
5 warnings and 2 errors generated.

AV_CODEC_ID_MPEGH_3D_AUDIO was added in https://github.com/FFmpeg/FFmpeg/commit/30047b6a571daa0fbdfa4eb4d907e510ab56ca3f which isn't in any offical release yet


Reproducible: Always
Comment 1 Mike Lothian 2020-01-30 07:23:11 UTC
I'm rebuilding now with -system-ffmpeg to see if that works
Comment 2 Stephan Hartmann (RETIRED) gentoo-dev 2020-01-30 09:28:08 UTC
First full build.log and emerge --info.
Second this happens only if chromecast is enabled, but ebuild in Gentoo tree does not enable chromecast. Check if you use something from an overlay.
Comment 3 Mike Lothian 2020-01-30 09:38:56 UTC
Good spot, it's the vaapi patch I'm using

Sorry for the noise