Mon Oct 10 17:14:02 2022 UTC ()
ffmpeg4 ffplay4: updated to 4.4.3

version 4.4.3:
- avformat/vividas: Check packet size
- configure: link to libatomic when it's present
- avcodec/dstdec: Check for overflow in build_filter()
- avformat/spdifdec: Use 64bit to compute bit rate
- avformat/rpl: Use 64bit for duration computation
- avformat/xwma: Use av_rescale() for duration computation
- avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation
- avformat/sbgdec: Check ts_int in genrate_intervals
- avformat/rmdec: check tag_size
- avformat/nutdec: Check fields
- avformat/flvdec: Use 64bit for sum_flv_tag_size
- avformat/jacosubdec: Fix overflow in get_shift()
- avformat/dxa: avoid bpc overflows
- avformat/cafdec: Check that nb_frasmes fits within 64bit
- avformat/asfdec_o: Limit packet offset
- avformat/ape: Check frames size
- avformat/icodec: Check nb_pal
- avformat/aiffdec: Use 64bit for block_duration use
- avformat/aiffdec: Check block_duration
- avformat/mxfdec: only probe max run in
- avformat/mxfdec: Check run_in is within 65536
- avcodec/mjpegdec: Check for unsupported bayer case
- avcodec/apedec: Fix integer overflow in filter_3800()
- avcodec/tta: Check 24bit scaling for overflow
- avcodec/mobiclip: Check quantizer for overflow
- avcodec/exr: Check preview psize
- avcodec/tiff: Fix loop detection
- libavformat/hls: Free keys
- avcodec/fmvc: Move frame allocation to a later stage
- avfilter/vf_showinfo: remove backspaces
- avcodec/speedhq: Check width
- avcodec/bink: disallow odd positioned scaled blocks
- avformat/asfdec_o: limit recursion depth in asf_read_unknown()
- doc/git-howto.texi: Document commit signing
- libavcodec/8bps: Check that line lengths fit within the buffer
- avcodec/midivid: Perform lzss_uncompress() before ff_reget_buffer()
- libavformat/iff: Check for overflow in body_end calculation
- avformat/avidec: Prevent entity expansion attacks
- avcodec/h263dec: Sanity check against minimal I/P frame size
- avcodec/hevcdec: Check s->ref in the md5 path similar to hwaccel
- avcodec/mpegaudiodec_template: use unsigned shift in handle_crc()
- avformat/subviewerdec: Make read_ts() more flexible
- avcodec/mjpegdec: bayer and rct are incompatible
- MAINTAINERS: Add ED25519 key for signing my commits in the future
- avcodec/hevc_filter: copy_CTB() only within width&height
- avcodec/tiff: Check tile_length and tile_width
- avcodec/mss4: Check image size with av_image_check_size2()
- avformat/flvdec: Check for EOF in index reading
- avformat/nutdec: Check get_packetheader() in mainheader
- avformat/asfdec_f: Use 64bit for packet start time
- avcodec/exr: Check x/ysize
- tools/target_dec_fuzzer: Adjust threshold for MMVIDEO
- avcodec/lagarith: Check dst/src in zero run code
- avcodec/h264dec: Skip late SEI
- avcodec/sbrdsp_fixed: Fix integer overflows in sbr_qmf_deint_neg_c()
- avfilter/vf_signature: Fix integer overflow in filter_frame()
- avformat/rtsp: break on unknown protocols
- avcodec/hevcdsp_template: stay within tables in sao_band_filter()
- avcodec/tiff: Check pixel format types for dng
- avcodec/qpeldsp: copy less for the mc0x cases
- avformat/aaxdec: Check for empty segments
- avcodec/ffv1dec: Limit golomb rice coded slices to width 8M
- avformat/iff: simplify duration calculation
- avcodec/wnv1: Check for width =1
- avcodec/ffv1dec_template: fix indention
- avformat/sctp: close socket on errors
- avcodec/aasc: Fix indention
- avcodec/qdrw: adjust max colors to array size
- avcodec/alacdsp: Make intermediates unsigned
- avformat/aiffdec: cleanup size handling for extreem cases
- avformat/matroskadec: avoid integer overflows in SAR computation
- avcodec/jpeglsdec: fix end check for xfrm
- avcodec/cdgraphics: limit scrolling to the line
- avformat/hls: Limit start_seq_no to one bit less
- avformat/aiffdec: avoid integer overflow in get_meta()
- avformat/ape: more bits in size for less overflows
- avformat/aviobuf: Check buf_size in ffio_ensure_seekback()
- avformat/bfi: Check offsets better
- avformat/asfdec_f: Check packet_frag_timestamp
- avcodec/texturedspenc: Fix indexing in color distribution determination
- avformat/act: Check ff_get_wav_header() for failure
- avcodec/libxavs2: Improve r redundancy in occured
- avformat/libzmq: Improve r redundancy in occured
- avfilter/vsrc_mandelbrot: Check for malloc failure
- avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirements
- avfilter/video: Add ff_default_get_video_buffer2() to set specific alignment
- avformat/genh: Check sample rate
- configure: bump year
- lavc/videotoolbox: do not pass AVCodecContext to decoder output callback
- lavc/pthread_frame: always transfer stashed hwaccel state
- avcodec/arm/sbcenc: avoid callee preserved vfp registers
- avfilter/vf_scale: overwrite the width and height expressions with the original values
- lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads
- configure: extend SDL check to accept all 2.x versions
- lavf/tls_mbedtls: add support for mbedtls version 3


(adam)
diff -r1.69 -r1.70 pkgsrc/multimedia/ffmpeg4/Makefile
diff -r1.29 -r1.30 pkgsrc/multimedia/ffmpeg4/Makefile.common
diff -r1.28 -r1.29 pkgsrc/multimedia/ffmpeg4/distinfo
diff -r1.8 -r1.9 pkgsrc/multimedia/ffmpeg4/patches/patch-configure
diff -r1.26 -r1.27 pkgsrc/multimedia/ffplay4/Makefile

cvs diff -r1.69 -r1.70 pkgsrc/multimedia/ffmpeg4/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/ffmpeg4/Makefile 2022/09/27 20:57:54 1.69
+++ pkgsrc/multimedia/ffmpeg4/Makefile 2022/10/10 17:14:02 1.70
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.69 2022/09/27 20:57:54 wiz Exp $ 1# $NetBSD: Makefile,v 1.70 2022/10/10 17:14:02 adam Exp $
2 2
3PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg4/} 3PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg4/}
4PKGREVISION= 5 
5MAINTAINER= pkgsrc-users@NetBSD.org 4MAINTAINER= pkgsrc-users@NetBSD.org
6HOMEPAGE= https://ffmpeg.org/ 5HOMEPAGE= https://ffmpeg.org/
7COMMENT= Decoding, encoding and streaming software (v4.x) 6COMMENT= Decoding, encoding and streaming software (v4.x)
8 7
9CONFIGURE_ARGS+= --enable-avfilter 8CONFIGURE_ARGS+= --enable-avfilter
10CONFIGURE_ARGS+= --enable-avresample 9CONFIGURE_ARGS+= --enable-avresample
11CONFIGURE_ARGS+= --enable-postproc 10CONFIGURE_ARGS+= --enable-postproc
12CONFIGURE_ARGS+= --enable-rpath 11CONFIGURE_ARGS+= --enable-rpath
13CONFIGURE_ARGS+= --disable-ffplay 12CONFIGURE_ARGS+= --disable-ffplay
14 13
15INSTALLATION_DIRS= lib/ffmpeg4 share/doc/ffmpeg4 share/examples/ffmpeg4 14INSTALLATION_DIRS= lib/ffmpeg4 share/doc/ffmpeg4 share/examples/ffmpeg4
16 15
17.include "../../mk/bsd.prefs.mk" 16.include "../../mk/bsd.prefs.mk"

cvs diff -r1.29 -r1.30 pkgsrc/multimedia/ffmpeg4/Makefile.common (expand / switch to unified diff)

--- pkgsrc/multimedia/ffmpeg4/Makefile.common 2022/05/24 09:50:46 1.29
+++ pkgsrc/multimedia/ffmpeg4/Makefile.common 2022/10/10 17:14:02 1.30
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile.common,v 1.29 2022/05/24 09:50:46 nia Exp $ 1# $NetBSD: Makefile.common,v 1.30 2022/10/10 17:14:02 adam Exp $
2# used by multimedia/ffmpeg4/Makefile 2# used by multimedia/ffmpeg4/Makefile
3# used by multimedia/ffplay4/Makefile 3# used by multimedia/ffplay4/Makefile
4 4
5DISTNAME= ffmpeg-4.4.2 5DISTNAME= ffmpeg-4.4.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/ffmpeg4/patches 12PATCHDIR= ${.CURDIR}/../../multimedia/ffmpeg4/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.28 -r1.29 pkgsrc/multimedia/ffmpeg4/distinfo (expand / switch to unified diff)

--- pkgsrc/multimedia/ffmpeg4/distinfo 2022/08/23 10:04:39 1.28
+++ pkgsrc/multimedia/ffmpeg4/distinfo 2022/10/10 17:14:02 1.29
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1$NetBSD: distinfo,v 1.28 2022/08/23 10:04:39 wiz Exp $ 1$NetBSD: distinfo,v 1.29 2022/10/10 17:14:02 adam Exp $
2 2
3BLAKE2s (ffmpeg-4.4.2.tar.xz) = b28c91e749bebf8a0b2911723c60281ff4deea5d6ba613939a27b0ae702c8c0d 3BLAKE2s (ffmpeg-4.4.3.tar.xz) = 731f4c67a288e69e3930d8e35b69defada5c61cd07fc9430fb54c4054d0e4ad9
4SHA512 (ffmpeg-4.4.2.tar.xz) = abce847c607ac6d63fe32ceff8bf8724888acf2b7db9a083cba50e3235590cdcb27feb7e0a314133d0030809fb54d474f64001fc9ab7d896a819159869c09d5a 4SHA512 (ffmpeg-4.4.3.tar.xz) = 0b232b66555237ed1a061807f88dbc5e6cd156e604c5d611bb6ac0c32b9006414cc4f30d632b482d9cb95f526df98b36efa3af9c863c52e7b7aa1a183545d915
5Size (ffmpeg-4.4.2.tar.xz) = 9562968 bytes 5Size (ffmpeg-4.4.3.tar.xz) = 9566020 bytes
6SHA1 (patch-Makefile) = 2d27f218ee49179fdea14bb5c86c506dfb64dbd6 6SHA1 (patch-Makefile) = 2d27f218ee49179fdea14bb5c86c506dfb64dbd6
7SHA1 (patch-configure) = ffa962bb7adb4a64f6c78d84accaa83da6835c0a 7SHA1 (patch-configure) = a79b9e2a8fe60d2848239305461a183dda6f3c12
8SHA1 (patch-doc_Makefile) = 3b86307323fa565f9ad19c5bcb6ea71d323062fc 8SHA1 (patch-doc_Makefile) = 3b86307323fa565f9ad19c5bcb6ea71d323062fc
9SHA1 (patch-doc_general__contents.texi) = 13704795d2688dc0377a512dc6e65025ad674724 9SHA1 (patch-doc_general__contents.texi) = 13704795d2688dc0377a512dc6e65025ad674724
10SHA1 (patch-doc_indevs.texi) = 066a6ead2132ec05796bdcc000071dfca76d220c 10SHA1 (patch-doc_indevs.texi) = 066a6ead2132ec05796bdcc000071dfca76d220c
11SHA1 (patch-doc_outdevs.texi) = 0a6930b835fb24e0008adeeb6c34990db1e16fc1 11SHA1 (patch-doc_outdevs.texi) = 0a6930b835fb24e0008adeeb6c34990db1e16fc1
12SHA1 (patch-ffbuild_libversion.sh) = 7671eced5a8135a900c2f1d30343fc072ebb84ec 12SHA1 (patch-ffbuild_libversion.sh) = 7671eced5a8135a900c2f1d30343fc072ebb84ec
13SHA1 (patch-libavdevice_Makefile) = 526efd20021068245d8904c0d55508a540ae4054 13SHA1 (patch-libavdevice_Makefile) = 526efd20021068245d8904c0d55508a540ae4054
14SHA1 (patch-libavdevice_alldevices.c) = 8f835f8ec7b057ddcd6303bc2178cdb6f4541e2a 14SHA1 (patch-libavdevice_alldevices.c) = 8f835f8ec7b057ddcd6303bc2178cdb6f4541e2a
15SHA1 (patch-libavdevice_sunau.c) = 44dba866c58d508c0f873ffdd9ad8d25c059cc8a 15SHA1 (patch-libavdevice_sunau.c) = 44dba866c58d508c0f873ffdd9ad8d25c059cc8a
16SHA1 (patch-libavdevice_sunau.h) = 2678d87f81e7b3faa42b5cc9814e373c4ad812f6 16SHA1 (patch-libavdevice_sunau.h) = 2678d87f81e7b3faa42b5cc9814e373c4ad812f6
17SHA1 (patch-libavdevice_sunau__dec.c) = d2fc01e941c68ab8b6f5e0b98ee536a32cc56bdc 17SHA1 (patch-libavdevice_sunau__dec.c) = d2fc01e941c68ab8b6f5e0b98ee536a32cc56bdc
18SHA1 (patch-libavdevice_sunau__enc.c) = efe765b99ad6379d0237c619ac0dce41306431be 18SHA1 (patch-libavdevice_sunau__enc.c) = efe765b99ad6379d0237c619ac0dce41306431be
19SHA1 (patch-libavutil_common.h) = d0f1093bc82567807b39dde990ee347f90a082c9 19SHA1 (patch-libavutil_common.h) = d0f1093bc82567807b39dde990ee347f90a082c9
20SHA1 (patch-libavutil_x86_asm.h) = 8f48f9e8ec08b5176bb40fc0021f3bb913dbef22 20SHA1 (patch-libavutil_x86_asm.h) = 8f48f9e8ec08b5176bb40fc0021f3bb913dbef22

cvs diff -r1.8 -r1.9 pkgsrc/multimedia/ffmpeg4/patches/patch-configure (expand / switch to unified diff)

--- pkgsrc/multimedia/ffmpeg4/patches/patch-configure 2022/08/23 10:04:39 1.8
+++ pkgsrc/multimedia/ffmpeg4/patches/patch-configure 2022/10/10 17:14:02 1.9
@@ -1,25 +1,23 @@ @@ -1,25 +1,23 @@
1$NetBSD: patch-configure,v 1.8 2022/08/23 10:04:39 wiz Exp $ 1$NetBSD: patch-configure,v 1.9 2022/10/10 17:14:02 adam Exp $
2 2
3Sun audio support. 3Sun audio support.
4 4
5Enable PIC and section_data_rel_ro on NetBSD, even on i386, 5Enable PIC and section_data_rel_ro on NetBSD, even on i386,
6to avoid text relocations. 6to avoid text relocations.
7 7
8Do not use 'rsync'. 8Do not use 'rsync'.
9 9
10Allow current SDL2 versions. 10--- configure.orig 2022-10-09 19:04:43.000000000 +0000
11 
12--- configure.orig 2022-04-14 20:13:38.000000000 +0000 
13+++ configure 11+++ configure
14@@ -2139,6 +2139,7 @@ HEADERS_LIST=" 12@@ -2139,6 +2139,7 @@ HEADERS_LIST="
15 sys_resource_h 13 sys_resource_h
16 sys_select_h 14 sys_select_h
17 sys_soundcard_h 15 sys_soundcard_h
18+ sys_audioio_h 16+ sys_audioio_h
19 sys_time_h 17 sys_time_h
20 sys_un_h 18 sys_un_h
21 sys_videoio_h 19 sys_videoio_h
22@@ -2280,7 +2281,6 @@ TOOLCHAIN_FEATURES=" 20@@ -2280,7 +2281,6 @@ TOOLCHAIN_FEATURES="
23 inline_asm_labels 21 inline_asm_labels
24 inline_asm_nonlocal_labels 22 inline_asm_nonlocal_labels
25 pragma_deprecated 23 pragma_deprecated
@@ -60,30 +58,21 @@ Allow current SDL2 versions. @@ -60,30 +58,21 @@ Allow current SDL2 versions.
60 EOF 58 EOF
61-od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian 59-od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
62  60
63 check_cc const_nan math.h "struct { double d; } static const bar[] = { { NAN } }" 61 check_cc const_nan math.h "struct { double d; } static const bar[] = { { NAN } }"
64  62
65@@ -6170,6 +6177,7 @@ check_headers malloc.h 63@@ -6170,6 +6177,7 @@ check_headers malloc.h
66 check_headers mftransform.h 64 check_headers mftransform.h
67 check_headers net/udplite.h 65 check_headers net/udplite.h
68 check_headers poll.h 66 check_headers poll.h
69+check_headers sys/audioio.h 67+check_headers sys/audioio.h
70 check_headers sys/param.h 68 check_headers sys/param.h
71 check_headers sys/resource.h 69 check_headers sys/resource.h
72 check_headers sys/select.h 70 check_headers sys/select.h
73@@ -6555,7 +6563,7 @@ fi 71@@ -6606,7 +6614,6 @@ enabled makeinfo \
74  
75 if enabled sdl2; then 
76 SDL2_CONFIG="${cross_prefix}sdl2-config" 
77- test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 2.1.0" SDL_events.h SDL_PollEvent 
78+ test_pkg_config sdl2 "sdl2 >= 2.0.1" SDL_events.h SDL_PollEvent 
79 if disabled sdl2 && "${SDL2_CONFIG}" --version > /dev/null 2>&1; then 
80 sdl2_cflags=$("${SDL2_CONFIG}" --cflags) 
81 sdl2_extralibs=$("${SDL2_CONFIG}" --libs) 
82@@ -6599,7 +6607,6 @@ enabled makeinfo \ 
83 disabled makeinfo_html && texi2html --help 2> /dev/null | grep -q 'init-file' && enable texi2html || disable texi2html 72 disabled makeinfo_html && texi2html --help 2> /dev/null | grep -q 'init-file' && enable texi2html || disable texi2html
84 perl -v > /dev/null 2>&1 && enable perl || disable perl 73 perl -v > /dev/null 2>&1 && enable perl || disable perl
85 pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man 74 pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man
86-rsync --help 2> /dev/null | grep -q 'contimeout' && enable rsync_contimeout || disable rsync_contimeout 75-rsync --help 2> /dev/null | grep -q 'contimeout' && enable rsync_contimeout || disable rsync_contimeout
87  76
88 # check V4L2 codecs available in the API 77 # check V4L2 codecs available in the API
89 if enabled v4l2_m2m; then 78 if enabled v4l2_m2m; then

cvs diff -r1.26 -r1.27 pkgsrc/multimedia/ffplay4/Makefile (expand / switch to unified diff)

--- pkgsrc/multimedia/ffplay4/Makefile 2022/09/27 20:58:25 1.26
+++ pkgsrc/multimedia/ffplay4/Makefile 2022/10/10 17:14:02 1.27
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.26 2022/09/27 20:58:25 wiz Exp $ 1# $NetBSD: Makefile,v 1.27 2022/10/10 17:14:02 adam Exp $
2 2
3PKGNAME= ${DISTNAME:S/ffmpeg/ffplay4/} 3PKGNAME= ${DISTNAME:S/ffmpeg/ffplay4/}
4PKGREVISION= 3 
5MAINTAINER= pkgsrc-users@NetBSD.org 4MAINTAINER= pkgsrc-users@NetBSD.org
6HOMEPAGE= https://ffmpeg.org/ 5HOMEPAGE= https://ffmpeg.org/
7COMMENT= Simple SDL frontend for FFmpeg 6COMMENT= Simple SDL frontend for FFmpeg
8 7
9DISTINFO_FILE= ${.CURDIR}/../ffmpeg4/distinfo 8DISTINFO_FILE= ${.CURDIR}/../ffmpeg4/distinfo
10 9
11USE_LANGUAGES= c99 10USE_LANGUAGES= c99
12 11
13CONFIGURE_ARGS+= --disable-ffmpeg 12CONFIGURE_ARGS+= --disable-ffmpeg
14CONFIGURE_ARGS+= --disable-ffprobe 13CONFIGURE_ARGS+= --disable-ffprobe
15CONFIGURE_ARGS+= --disable-encoders 14CONFIGURE_ARGS+= --disable-encoders
16CONFIGURE_ARGS+= --disable-decoders 15CONFIGURE_ARGS+= --disable-decoders
17CONFIGURE_ARGS+= --disable-hwaccels 16CONFIGURE_ARGS+= --disable-hwaccels