Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2016 06:54:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214896] multimedia/mplayer2: fails to build with ffmpeg 3.x
Message-ID:  <bug-214896-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214896

            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@freebsd.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 207547
             Flags: maintainer-feedback?(cpm@freebsd.org)
          Assignee: cpm@freebsd.org

screenshot.c:60:5: error: implicit declaration of function 'avcodec_free_fr=
ame'
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 =3D 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 =3D PIX_FMT_RGB24;
                     ^~~~~~~~~~~~~
                     AV_PIX_FMT_RGB24
/usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declar=
ed
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 =3D avcodec_encode_video(avctx, outbuffer, outbuffer_size, pic=
);
               ^

http://package23.nyi.freebsd.org/data/93amd64-default-PR207547/2016-11-27_1=
7h03m14s/logs/errors/mplayer2-2.0.20130428_23.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207547
[Bug 207547] [exp-run] Update ffmpeg to 3.2
--=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-214896-13>