[Bug 214896] multimedia/mplayer2: fails to build with ffmpeg 3.x
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 28 06:54:11 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214896
Bug ID: 214896
Summary: multimedia/mplayer2: fails to build with ffmpeg 3.x
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: cpm at freebsd.org
Reporter: jbeich at FreeBSD.org
Blocks: 207547
Flags: maintainer-feedback?(cpm at freebsd.org)
Assignee: cpm at freebsd.org
screenshot.c:60:5: error: implicit declaration of function 'avcodec_free_frame'
is invalid in C99
[-Werror,-Wimplicit-function-declaration]
avcodec_free_frame(&ctx->pic);
^
screenshot.c:72:20: error: implicit declaration of function
'avcodec_alloc_frame' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
ctx->pic = avcodec_alloc_frame();
^
screenshot.c:97:22: error: use of undeclared identifier 'PIX_FMT_RGB24'; did
you mean
'AV_PIX_FMT_RGB24'?
avctx->pix_fmt = PIX_FMT_RGB24;
^~~~~~~~~~~~~
AV_PIX_FMT_RGB24
/usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared
here
AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB...
^
screenshot.c:113:5: error: implicit declaration of function
'avcodec_get_frame_defaults' is invalid
in C99 [-Werror,-Wimplicit-function-declaration]
avcodec_get_frame_defaults(pic);
^
screenshot.c:118:16: error: implicit declaration of function
'avcodec_encode_video' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
int size = avcodec_encode_video(avctx, outbuffer, outbuffer_size, pic);
^
http://package23.nyi.freebsd.org/data/93amd64-default-PR207547/2016-11-27_17h03m14s/logs/errors/mplayer2-2.0.20130428_23.log
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207547
[Bug 207547] [exp-run] Update ffmpeg to 3.2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list