[Bug 207547] [exp-run] Update ffmpeg to 3.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 12 08:08:49 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207547

--- Comment #56 from commit-hook at 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=on 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+=-Werror=implicit-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_packet'
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 = 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 = 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, AVDictionary
**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 = avcodec_alloc_frame ();
                        ^

  PR:           207547
  Approved by:  portmgr blanket

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

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


More information about the freebsd-multimedia mailing list