[MacPorts] #36830: libdlna at 0.2.3_3 build failure due to ffmpeg @1.0 update
MacPorts
noreply at macports.org
Tue Oct 30 16:14:52 PDT 2012
#36830: libdlna at 0.2.3_3 build failure due to ffmpeg @1.0 update
----------------------------+----------------------
Reporter: todmorrison@… | Owner: sfiera@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords: haspatch
Port: libdlna |
----------------------------+----------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => sfiera@…
* keywords: => haspatch
Old description:
> After ffmpeg update, libdlna build fails. This can either be resolved by
> updating to libdlna 0.2.4 or by the attached patch.
>
> The error is:
>
> profiles.c:208:47: error: use of undeclared identifier 'CODEC_TYPE_AUDIO'
> ctx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO)
> ^
> profiles.c:214:52: error: use of undeclared identifier 'CODEC_TYPE_VIDEO'
> ctx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO)
> ^
> profiles.c:283:7: warning: implicit declaration of function
> 'av_open_input_file' is invalid in C99 [-Wimplicit-function-declaration]
> if (av_open_input_file (&ctx, filename, NULL, 0, NULL) != 0)
> ^
> profiles.c:290:7: warning: 'av_find_stream_info' is deprecated
> [-Wdeprecated-declarations]
> if (av_find_stream_info (ctx) < 0)
> ^
> /opt/local/include/libavformat/avformat.h:1446:5: note:
> 'av_find_stream_info' declared here
> int av_find_stream_info(AVFormatContext *ic);
> ^
> profiles.c:337:3: warning: 'av_close_input_file' is deprecated
> [-Wdeprecated-declarations]
> av_close_input_file (ctx);
> ^
> /opt/local/include/libavformat/avformat.h:1622:6: note:
> 'av_close_input_file' declared here
> void av_close_input_file(AVFormatContext *s);
> ^
> 3 warnings and 2 errors generated.
New description:
After ffmpeg update, libdlna build fails. This can either be resolved by
updating to libdlna 0.2.4 or by the attached patch.
The error is:
{{{
profiles.c:208:47: error: use of undeclared identifier 'CODEC_TYPE_AUDIO'
ctx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO)
^
profiles.c:214:52: error: use of undeclared identifier 'CODEC_TYPE_VIDEO'
ctx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO)
^
profiles.c:283:7: warning: implicit declaration of function
'av_open_input_file' is invalid in C99 [-Wimplicit-function-declaration]
if (av_open_input_file (&ctx, filename, NULL, 0, NULL) != 0)
^
profiles.c:290:7: warning: 'av_find_stream_info' is deprecated
[-Wdeprecated-declarations]
if (av_find_stream_info (ctx) < 0)
^
/opt/local/include/libavformat/avformat.h:1446:5: note:
'av_find_stream_info' declared here
int av_find_stream_info(AVFormatContext *ic);
^
profiles.c:337:3: warning: 'av_close_input_file' is deprecated
[-Wdeprecated-declarations]
av_close_input_file (ctx);
^
/opt/local/include/libavformat/avformat.h:1622:6: note:
'av_close_input_file' declared here
void av_close_input_file(AVFormatContext *s);
^
3 warnings and 2 errors generated.
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/36830#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list