multimedia/libvpx: update to 1.4.0 breaks gstreamer-plugins-vp8

Jan Beich jbeich at FreeBSD.org
Fri May 22 11:51:29 UTC 2015


I'm trying to update multimedia/libvpx but some ports fail to build after.
Among them is old gst-plugins-bad with vp8-only plugin enabled. It seems
upstream fixed the issue only after the code migrated to gst-plugins-good.

Can you approve the patch: https://reviews.freebsd.org/D2570 ?

gstvp8enc.c:848:16: error: use of undeclared identifier 'IMG_FMT_I420'; did you mean 'VPX_IMG_FMT_I420'?
  image->fmt = VPX_IMG_FMT_I420;
               ^~~~~~~~~~~~~~~~
               VPX_IMG_FMT_I420
./gstvp8utils.h:30:26: note: expanded from macro 'VPX_IMG_FMT_I420'
#define VPX_IMG_FMT_I420 IMG_FMT_I420
                         ^
/usr/local/include/vpx/./vpx_image.h:56:5: note: 'VPX_IMG_FMT_I420' declared here
    VPX_IMG_FMT_I420    = VPX_IMG_FMT_PLANAR | 2,
    ^
gstvp8enc.c:846:29: warning: 'memset' call operates on objects of type 'vpx_image_t' (aka 'struct vpx_image') while the size is based on a different type 'vpx_image_t *' (aka 'struct vpx_image *') [-Wsizeof-pointer-memaccess]
  memset (image, 0, sizeof (image));
          ~~~~~             ^~~~~
gstvp8enc.c:846:29: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
  memset (image, 0, sizeof (image));
                            ^~~~~
1 warning and 1 error generated.

http://package18.nyi.freebsd.org/data/101amd64-default-D2570/2015-05-18_19h56m07s/logs/errors/gstreamer-plugins-vp8-0.10.23_2,3.log
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20150522/0c8534fc/attachment.sig>


More information about the freebsd-multimedia mailing list