Date: Fri, 25 Nov 2016 12:20:48 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214824] multimedia/gmerlin-avdecoder: fails to build with ffmpeg 3.x Message-ID: <bug-214824-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214824 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@FreeBSD.org Reporter: jbeich@FreeBSD.org Depends on: 214823 Blocks: 207547 Assignee: wg@FreeBSD.org Flags: maintainer-feedback?(wg@FreeBSD.org) video_ffmpeg.c:206:12: error: no member named 'type' in 'struct AVFrame' pic->type =3D FF_BUFFER_TYPE_USER; ~~~ ^ video_ffmpeg.c:206:19: error: use of undeclared identifier 'FF_BUFFER_TYPE_USER' pic->type =3D FF_BUFFER_TYPE_USER; ^ video_ffmpeg.c:222:15: error: no member named 'reference' in 'struct AVFram= e' 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 =3D vdpau_get_buffer; ^~~~~~~~~~ get_buffer2 /usr/local/include/libavcodec/avcodec.h:2593:11: note: 'get_buffer2' declar= ed 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 AVCodecContex= t *, struct AVFrame *, int)') from 'int (struct AVCodecContext *, AVFrame *)' (aka 'int (str= uct AVCodecContext *, struct AVFrame *)') [-Wincompatible-pointer-types] priv->ctx->get_buffer =3D vdpau_get_buffer; ^ ~~~~~~~~~~~~~~~~ video_ffmpeg.c:789:14: error: no member named 'release_buffer' in 'struct AVCodecContext' priv->ctx->release_buffer =3D vdpau_release_buffer; ~~~~~~~~~ ^ Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207547 [Bug 207547] [exp-run] Update ffmpeg to 3.2 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214823 [Bug 214823] multimedia/gmerlin-avdecoder: switch to modern ffmpeg --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214824-13>