Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2016 08:08:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 207547] [exp-run] Update ffmpeg to 3.2
Message-ID:  <bug-207547-12827-AhIDxYFMOy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207547-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207547-12827@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #56 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Mon Dec 12 08:08:41 UTC 2016
New revision: 428398
URL: https://svnweb.freebsd.org/changeset/ports/428398

Log:
  graphics/gegl: unbreak FFMPEG=3Don runtime

  $ gimp /path/to/file.png
  GEGL-geglmodule.c-Message: Module '/usr/local/lib/gegl-0.2/ff-load.so'
  load error: /usr/local/lib/gegl-0.2/ff-load.so: Undefined symbol
"av_read_packet"

  $ echo CFLAGS+=3D-Werror=3Dimplicit-function-declaration >>Makefile.local
  $ make
  [...]
  ./ff-load.c:140:9: error: implicit declaration of function
'av_close_input_file' is invalid in C99
        [-Werror,-Wimplicit-function-declaration]
          av_close_input_file (p->ic);
          ^
  ./ff-load.c:219:23: error: implicit declaration of function 'av_read_pack=
et'
is invalid in C99
        [-Werror,-Wimplicit-function-declaration]
                    if (av_read_packet (p->ic, &p->pkt) < 0)
                        ^
  ./ff-load.c:274:13: error: implicit declaration of function
'av_open_input_file' is invalid in C99
        [-Werror,-Wimplicit-function-declaration]
        err =3D av_open_input_file (&p->ic, o->path, NULL, 0, NULL);
              ^
  ./ff-load.c:279:13: error: implicit declaration of function
'av_find_stream_info' is invalid in C99
        [-Werror,-Wimplicit-function-declaration]
        err =3D av_find_stream_info (p->ic);
              ^
  ./ff-load.c:279:13: note: did you mean 'avformat_find_stream_info'?
  /usr/local/include/libavformat/avformat.h:2217:5: note:
'avformat_find_stream_info' declared here
  int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options=
);
      ^
  ./ff-load.c:315:11: error: implicit declaration of function 'avcodec_open=
' is
invalid in C99
        [-Werror,-Wimplicit-function-declaration]
        if (avcodec_open (p->enc, p->codec) < 0)
            ^
  ./ff-load.c:315:11: note: did you mean 'avcodec_open2'?
  /usr/local/include/libavcodec/avcodec.h:4324:5: note: 'avcodec_open2'
declared here
  int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictiona=
ry
**options);
      ^
  ./ff-load.c:324:23: error: implicit declaration of function
'avcodec_alloc_frame' is invalid in C99
        [-Werror,-Wimplicit-function-declaration]
        p->lavc_frame =3D avcodec_alloc_frame ();
                        ^

  PR:           207547
  Approved by:  portmgr blanket

Changes:
  head/graphics/gegl/Makefile
  head/graphics/gegl/files/patch-operations_external_ff-load.c

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207547-12827-AhIDxYFMOy>