[Bug 214824] multimedia/gmerlin-avdecoder: fails to build with ffmpeg 3.x
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 25 12:20:49 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214824
Bug ID: 214824
Summary: multimedia/gmerlin-avdecoder: fails to build with
ffmpeg 3.x
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: wg at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Depends on: 214823
Blocks: 207547
Assignee: wg at FreeBSD.org
Flags: maintainer-feedback?(wg at FreeBSD.org)
video_ffmpeg.c:206:12: error: no member named 'type' in 'struct AVFrame'
pic->type = FF_BUFFER_TYPE_USER;
~~~ ^
video_ffmpeg.c:206:19: error: use of undeclared identifier
'FF_BUFFER_TYPE_USER'
pic->type = FF_BUFFER_TYPE_USER;
^
video_ffmpeg.c:222:15: error: no member named 'reference' in 'struct AVFrame'
if(pic->reference)
~~~ ^
video_ffmpeg.c:278:10: error: returning 'const enum PixelFormat' from a
function with incompatible
result type 'enum AVPixelFormat'
return *fmt;
^~~~
video_ffmpeg.c:788:14: error: no member named 'get_buffer' in 'struct
AVCodecContext'; did you mean
'get_buffer2'?
priv->ctx->get_buffer = vdpau_get_buffer;
^~~~~~~~~~
get_buffer2
/usr/local/include/libavcodec/avcodec.h:2593:11: note: 'get_buffer2' declared
here
int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags);
^
video_ffmpeg.c:788:30: warning: incompatible pointer types assigning to 'int
(*)(struct
AVCodecContext *, AVFrame *, int)' (aka 'int (*)(struct AVCodecContext *,
struct AVFrame *,
int)') from 'int (struct AVCodecContext *, AVFrame *)' (aka 'int (struct
AVCodecContext *,
struct AVFrame *)') [-Wincompatible-pointer-types]
priv->ctx->get_buffer = vdpau_get_buffer;
^ ~~~~~~~~~~~~~~~~
video_ffmpeg.c:789:14: error: no member named 'release_buffer' in 'struct
AVCodecContext'
priv->ctx->release_buffer = vdpau_release_buffer;
~~~~~~~~~ ^
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207547
[Bug 207547] [exp-run] Update ffmpeg to 3.2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214823
[Bug 214823] multimedia/gmerlin-avdecoder: switch to modern ffmpeg
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list