[MacPorts] #67303: aubio does not build with ffmpeg 5.0: source_avcodec.c: error: ‘AVStream’ has no member named ‘codec’
MacPorts
noreply at macports.org
Tue Apr 25 07:03:54 UTC 2023
#67303: aubio does not build with ffmpeg 5.0: source_avcodec.c: error: ‘AVStream’
has no member named ‘codec’
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: aubio
--------------------------+--------------------
{{{
In file included from /opt/local/include/libavutil/avutil.h:296,
from /opt/local/include/libavutil/samplefmt.h:24,
from /opt/local/include/libavcodec/avcodec.h:30,
from ../src/io/source_avcodec.c:25:
/opt/local/include/libavutil/common.h: In function ‘av_sat_add64_c’:
/opt/local/include/libavutil/common.h:354: warning: suggest parentheses
around arithmetic in operand of |
../src/io/source_avcodec.c: In function ‘new_aubio_source_avcodec’:
../src/io/source_avcodec.c:195: error: ‘AVStream’ has no member named
‘codec’
../src/io/source_avcodec.c:229: error: ‘AVStream’ has no member named
‘codec’
../src/io/source_avcodec.c:230: warning: assignment discards qualifiers
from pointer target type
../src/io/source_avcodec.c: In function ‘aubio_source_avcodec_readframe’:
../src/io/source_avcodec.c:381: warning: ‘av_init_packet’ is deprecated
(declared at /opt/local/include/libavcodec/packet.h:506)
../src/io/source_avcodec.c:425: warning: implicit declaration of function
‘avcodec_decode_audio4’
Waf: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_aubio/aubio/work/aubio-0.4.9/build'
Build failed
}}}
Apparently {{{codec}}} has been deprecated:
https://github.com/opencv/opencv/issues/20148
--
Ticket URL: <https://trac.macports.org/ticket/67303>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list