Sun Apr 9 06:55:44 2023 UTC ()
ffmpeg5: update to 5.1.3.

version 5.1.3:
- avcodec/tests/snowenc: Fix 2nd test
- avcodec/tests/snowenc: return a failure if DWT/IDWT mismatches
- avcodec/snowenc: Fix visual weight calculation
- avcodec/tests/snowenc: unbreak DWT tests
- update for 5.1.3
- avcodec/mpeg12dec: Check input size
- avcodec/escape124: Fix some return codes
- avcodec/escape124: fix signdness of end of input check
- Use https for repository links
- avcodec/rpzaenc: stop accessing out of bounds frame
- avcodec/smcenc: stop accessing out of bounds frame
- avcodec/motionpixels: Mask pixels to valid values
- avcodec/xpmdec: Check size before allocation to avoid truncation
- avcodec/bink: Avoid undefined out of array end pointers in binkb_decode_plane()
- avcodec/bink: Fix off by 1 error in ref end
- avcodec/utils: Ensure linesize for SVQ3
- avcodec/utils: allocate a line more for VC1 and WMV3
- avcodec/videodsp_template: Adjust pointers to avoid undefined pointer things
- avcodec/pngdec: dont skip/read chunk twice
- avcodec/pngdec: Check deloco index more exactly
- avcodec/ffv1dec: Check that num h/v slices is supported
- avformat/mov: Check samplesize and offset to avoid integer overflow
- lavu/vulkan: fix handle type for 32-bit targets
- vulkan: Fix win/i386 calling convention
- avcodec/pictordec: Remove mid exit branch
- avcodec/eac3dec: avoid float noise in fixed mode addition to overflow
- avcodec/utils: use 32pixel alignment for bink
- avcodec/scpr3: Check bx
- avcodec/012v: Order operations for odd size handling
- avcodec/eatgq: : Check index increments in tgq_decode_block()
- avcodec/h274: fix include
- avcodec/scpr: Test bx before use
- avformat/mxfdec: Use 64bit in remainder
- avcodec/sunrast: Fix maplength check
- avcodec/wavpack: Avoid undefined shift in get_tail()
- avcodec/wavpack: Check for end of input in wv_unpack_dsd_high()
- avformat/id3v2: Check taglen in read_uslt()
- avcodec/tiff: Ignore tile_count
- avcodec/ffv1dec: restructure slice coordinate reading a bit
- avcodec/mlpdec: Check max matrix instead of max channel in noise check
- avutil/tx: Use unsigned in ff_tx_fft_sr_combine() to avoid undefined behavior
- swscale/input: Use more unsigned intermediates
- avcodec/alsdec: Check bits left before block decoding in non multi channel coding loop
- avcodec/alsdec: The minimal block is at least 7 bits
- avformat/replaygain: avoid undefined / negative abs
- swscale/output: Bias 16bps output calculations to improve non overflowing range for GBRP16/GBRPF32
- swscale/output: Bias 16bps output calculations to improve non overflowing range
- avcodec/speedhq: Check buf_size to be big enough for DC
- avcodec/ffv1dec: Fail earlier if prior context is corrupted
- avcodec/speexdec: Check channels > 2
- avformat/vividas: Check packet size
- hwcontext_vulkan: remove optional encode/decode extensions from the list
- avcodec/libjxldec: fix gamma22 and gamma28 recognition
- avcodec/mpeg12dec: use init_get_bits8 and check the return value
- avcodec/nvenc: fix vbv buffer size in cq mode
- avcodec/mjpegenc: take into account component count when writing the SOF header size
- swscale: aarch64: Fix yuv2rgb with negative strides
- avcodec/atrac3plus: reorder channels to match the output layout
- avcodec/aacdec: fix parsing streams with channel configuration 11
- libswscale: force a minimum size of the slide for bayer sources
- lavf/async: Fix ring_write return value
- avcodec/audiotoolboxenc: return AVERROR_EXTERNAL immediately when encode error
- avcodec/libjxlenc: avoid hard failure with unspecified primaries


(wiz)
diff -r1.16 -r1.17 pkgsrc/multimedia/ffmpeg5/Makefile
diff -r1.5 -r1.6 pkgsrc/multimedia/ffmpeg5/Makefile.common
diff -r1.5 -r1.6 pkgsrc/multimedia/ffmpeg5/distinfo

cvs diff -r1.16 -r1.17 pkgsrc/multimedia/ffmpeg5/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/ffmpeg5/Makefile 2023/01/29 21:14:52 1.16
+++ pkgsrc/multimedia/ffmpeg5/Makefile 2023/04/09 06:55:44 1.17
@@ -1,31 +1,30 @@ @@ -1,31 +1,30 @@
1# $NetBSD: Makefile,v 1.16 2023/01/29 21:14:52 ryoon Exp $ 1# $NetBSD: Makefile,v 1.17 2023/04/09 06:55:44 wiz Exp $
2 2
3PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg5/} 3PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg5/}
4PKGREVISION= 4 
5MAINTAINER= pkgsrc-users@NetBSD.org 4MAINTAINER= pkgsrc-users@NetBSD.org
6HOMEPAGE= https://ffmpeg.org/ 5HOMEPAGE= https://ffmpeg.org/
7COMMENT= Decoding, encoding and streaming software (v5.x) 6COMMENT= Decoding, encoding and streaming software (v5.x)
8 7
9CONFIGURE_ARGS+= --enable-avfilter 8CONFIGURE_ARGS+= --enable-avfilter
10CONFIGURE_ARGS+= --enable-postproc 9CONFIGURE_ARGS+= --enable-postproc
11CONFIGURE_ARGS+= --enable-rpath 10CONFIGURE_ARGS+= --enable-rpath
12CONFIGURE_ARGS+= --disable-ffplay 11CONFIGURE_ARGS+= --disable-ffplay
13 12
14INSTALLATION_DIRS= lib/ffmpeg5 share/doc/ffmpeg5 share/examples/ffmpeg5 13INSTALLATION_DIRS= lib/ffmpeg5 share/doc/ffmpeg5 share/examples/ffmpeg5
15 14
16.include "../../mk/bsd.prefs.mk" 15.include "../../mk/bsd.prefs.mk"
17 16
18.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) 17.if ${USE_CROSS_COMPILE:U:tl} == yes
19CONFIGURE_ARGS+= --enable-cross-compile 18CONFIGURE_ARGS+= --enable-cross-compile
20CONFIGURE_ARGS+= --host-cc=${NATIVE_CC:Q} 19CONFIGURE_ARGS+= --host-cc=${NATIVE_CC:Q}
21CONFIGURE_ARGS+= --host-ld=${NATIVE_CC:Q} 20CONFIGURE_ARGS+= --host-ld=${NATIVE_CC:Q}
22CONFIGURE_ARGS+= --target-os=${LOWER_OPSYS} 21CONFIGURE_ARGS+= --target-os=${LOWER_OPSYS}
23.endif 22.endif
24 23
25PRINT_PLIST_AWK+= /html/ { $$0 = "$${PLIST.doc}" $$0 } 24PRINT_PLIST_AWK+= /html/ { $$0 = "$${PLIST.doc}" $$0 }
26 25
27TEST_TARGET= check 26TEST_TARGET= check
28 27
29post-install: 28post-install:
30 ${INSTALL_DATA} ${WRKSRC}/doc/*.txt \ 29 ${INSTALL_DATA} ${WRKSRC}/doc/*.txt \
31 ${DESTDIR}${PREFIX}/share/doc/ffmpeg5 30 ${DESTDIR}${PREFIX}/share/doc/ffmpeg5

cvs diff -r1.5 -r1.6 pkgsrc/multimedia/ffmpeg5/Makefile.common (expand / switch to unified diff)

--- pkgsrc/multimedia/ffmpeg5/Makefile.common 2022/09/26 12:38:36 1.5
+++ pkgsrc/multimedia/ffmpeg5/Makefile.common 2023/04/09 06:55:44 1.6
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile.common,v 1.5 2022/09/26 12:38:36 adam Exp $ 1# $NetBSD: Makefile.common,v 1.6 2023/04/09 06:55:44 wiz Exp $
2# used by multimedia/ffmpeg5/Makefile 2# used by multimedia/ffmpeg5/Makefile
3# used by multimedia/ffplay5/Makefile 3# used by multimedia/ffplay5/Makefile
4 4
5DISTNAME= ffmpeg-5.1.2 5DISTNAME= ffmpeg-5.1.3
6CATEGORIES= multimedia 6CATEGORIES= multimedia
7MASTER_SITES= http://www.ffmpeg.org/releases/ 7MASTER_SITES= http://www.ffmpeg.org/releases/
8EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
9 9
10LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 ${ADDITIONAL_LICENSE} 10LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 ${ADDITIONAL_LICENSE}
11 11
12PATCHDIR= ${.CURDIR}/../../multimedia/ffmpeg5/patches 12PATCHDIR= ${.CURDIR}/../../multimedia/ffmpeg5/patches
13 13
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
15USE_TOOLS+= gmake pod2man perl pkg-config 15USE_TOOLS+= gmake pod2man perl pkg-config
16HAS_CONFIGURE= yes 16HAS_CONFIGURE= yes
17CONFIGURE_ARGS+= --cc=${CC:Q} 17CONFIGURE_ARGS+= --cc=${CC:Q}
18CONFIGURE_ARGS+= --disable-debug 18CONFIGURE_ARGS+= --disable-debug

cvs diff -r1.5 -r1.6 pkgsrc/multimedia/ffmpeg5/distinfo (expand / switch to unified diff)

--- pkgsrc/multimedia/ffmpeg5/distinfo 2022/09/26 12:38:36 1.5
+++ pkgsrc/multimedia/ffmpeg5/distinfo 2023/04/09 06:55:44 1.6
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1$NetBSD: distinfo,v 1.5 2022/09/26 12:38:36 adam Exp $ 1$NetBSD: distinfo,v 1.6 2023/04/09 06:55:44 wiz Exp $
2 2
3BLAKE2s (ffmpeg-5.1.2.tar.xz) = 08bd1a9c02d5c168c2644fc9fcbf0db7dcdb6874a71ac1057ae4bd830733e1b6 3BLAKE2s (ffmpeg-5.1.3.tar.xz) = 68bec61d58ecbb84d9292add3bd8e608b9d416a4dd7f32203205aa5ee29508be
4SHA512 (ffmpeg-5.1.2.tar.xz) = 04d9ae2a0e9238c469941d2bb9929d59b58f4be3830846cf91b02a440da17803a04b147a4e0168c9ffd6f62ca82187508bc7b53255de9787a97168278e903b9b 4SHA512 (ffmpeg-5.1.3.tar.xz) = 4310f27fe0c7b4363207e1535115e0ad266a45772bdb5445f5c8658f35b0f3216d8f2cf70d1d2baa71b12069fbdccf418a774b353ddf092d4f66829ef391508a
5Size (ffmpeg-5.1.2.tar.xz) = 10004956 bytes 5Size (ffmpeg-5.1.3.tar.xz) = 10007756 bytes
6SHA1 (patch-Makefile) = 2d27f218ee49179fdea14bb5c86c506dfb64dbd6 6SHA1 (patch-Makefile) = 2d27f218ee49179fdea14bb5c86c506dfb64dbd6
7SHA1 (patch-configure) = b4dea315f65ab019eb78cee7f58d938382024ae0 7SHA1 (patch-configure) = b4dea315f65ab019eb78cee7f58d938382024ae0
8SHA1 (patch-doc_Makefile) = d45fc311f47e6cd8a8432659d7bd77e50b858e43 8SHA1 (patch-doc_Makefile) = d45fc311f47e6cd8a8432659d7bd77e50b858e43
9SHA1 (patch-doc_general__contents.texi) = 13704795d2688dc0377a512dc6e65025ad674724 9SHA1 (patch-doc_general__contents.texi) = 13704795d2688dc0377a512dc6e65025ad674724
10SHA1 (patch-doc_indevs.texi) = 8cd421a67f34ebbe6099102bf1de7c6cdb13dcb7 10SHA1 (patch-doc_indevs.texi) = 8cd421a67f34ebbe6099102bf1de7c6cdb13dcb7
11SHA1 (patch-doc_outdevs.texi) = 0aec04682b516016abe9b81f6efcbbef97b1c3b2 11SHA1 (patch-doc_outdevs.texi) = 0aec04682b516016abe9b81f6efcbbef97b1c3b2
12SHA1 (patch-libavdevice_Makefile) = 526efd20021068245d8904c0d55508a540ae4054 12SHA1 (patch-libavdevice_Makefile) = 526efd20021068245d8904c0d55508a540ae4054
13SHA1 (patch-libavdevice_alldevices.c) = 1d12f5b12d37a73512cd8e0f05272e9a64588e49 13SHA1 (patch-libavdevice_alldevices.c) = 1d12f5b12d37a73512cd8e0f05272e9a64588e49
14SHA1 (patch-libavdevice_sunau.c) = 44dba866c58d508c0f873ffdd9ad8d25c059cc8a 14SHA1 (patch-libavdevice_sunau.c) = 44dba866c58d508c0f873ffdd9ad8d25c059cc8a
15SHA1 (patch-libavdevice_sunau.h) = 2678d87f81e7b3faa42b5cc9814e373c4ad812f6 15SHA1 (patch-libavdevice_sunau.h) = 2678d87f81e7b3faa42b5cc9814e373c4ad812f6
16SHA1 (patch-libavdevice_sunau__dec.c) = d2fc01e941c68ab8b6f5e0b98ee536a32cc56bdc 16SHA1 (patch-libavdevice_sunau__dec.c) = d2fc01e941c68ab8b6f5e0b98ee536a32cc56bdc
17SHA1 (patch-libavdevice_sunau__enc.c) = efe765b99ad6379d0237c619ac0dce41306431be 17SHA1 (patch-libavdevice_sunau__enc.c) = efe765b99ad6379d0237c619ac0dce41306431be
18SHA1 (patch-libavutil_macros.h) = 7d9770f018a2207d2dcb1fe057564e30be51fd42 18SHA1 (patch-libavutil_macros.h) = 7d9770f018a2207d2dcb1fe057564e30be51fd42