[MacPorts] #65335: mplayer-devel build error
MacPorts
noreply at macports.org
Mon Jun 13 07:07:00 UTC 2022
#65335: mplayer-devel build error
----------------------------+----------------------
Reporter: bunk3m | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: mplayer-devel |
----------------------------+----------------------
Comment (by ryandesign):
The real errors in the log are:
{{{
:info:build libavcodec/libdav1d.c:49:7: error: no member named
'n_tile_threads' in 'struct Dav1dSettings'
:info:build s.n_tile_threads = dav1d->tile_threads;
:info:build ~ ^
:info:build libavcodec/libdav1d.c:51:7: error: no member named
'n_frame_threads' in 'struct Dav1dSettings'
:info:build s.n_frame_threads = FFMIN(c->thread_count ?
c->thread_count : av_cpu_count(), DAV1D_MAX_FRAME_THREADS);
:info:build ~ ^
:info:build CC libavformat/vivo.o
:info:build CC libavcodec/libopenjpegdec.o
:info:build 3 warnings generated.
:info:build libavcodec/libdav1d.c:51:83: error: use of undeclared
identifier 'DAV1D_MAX_FRAME_THREADS'; did you mean 'DAV1D_OBU_FRAME_HDR'?
:info:build s.n_frame_threads = FFMIN(c->thread_count ?
c->thread_count : av_cpu_count(), DAV1D_MAX_FRAME_THREADS);
:info:build
^~~~~~~~~~~~~~~~~~~~~~~
:info:build
DAV1D_OBU_FRAME_HDR
:info:build ./libavutil/common.h:96:28: note: expanded from macro 'FFMIN'
:info:build #define FFMIN(a,b) ((a) > (b) ? (b) : (a))
:info:build ^
:info:build /opt/local/include/dav1d/headers.h:48:5: note:
'DAV1D_OBU_FRAME_HDR' declared here
:info:build DAV1D_OBU_FRAME_HDR = 3,
:info:build ^
}}}
{{{
:info:build libavcodec/libdav1d.c:51:83: error: use of undeclared
identifier 'DAV1D_MAX_FRAME_THREADS'; did you mean 'DAV1D_OBU_FRAME_HDR'?
:info:build s.n_frame_threads = FFMIN(c->thread_count ?
c->thread_count : av_cpu_count(), DAV1D_MAX_FRAME_THREADS);
:info:build
^~~~~~~~~~~~~~~~~~~~~~~
:info:build
DAV1D_OBU_FRAME_HDR
:info:build ./libavutil/common.h:96:34: note: expanded from macro 'FFMIN'
:info:build #define FFMIN(a,b) ((a) > (b) ? (b) : (a))
:info:build ^
:info:build /opt/local/include/dav1d/headers.h:48:5: note:
'DAV1D_OBU_FRAME_HDR' declared here
:info:build DAV1D_OBU_FRAME_HDR = 3,
:info:build ^
}}}
{{{
:info:build libavcodec/libdav1d.c:225:94: error: use of undeclared
identifier 'DAV1D_MAX_TILE_THREADS'
:info:build { "tilethreads", "Tile threads", OFFSET(tile_threads),
AV_OPT_TYPE_INT, { .i64 = 1 }, 1, DAV1D_MAX_TILE_THREADS, VD },
:info:build
^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65335#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list