Saturday, December 03, 2022

Re: UPDATE: FFmpeg 4.4.3

ping.

On 11/4/2022 11:49 PM, Brad Smith wrote:
> Here is an update to FFmpeg 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
>
>
> Index: graphics/ffmpeg/Makefile
> ===================================================================
> RCS file: /home/cvs/ports/graphics/ffmpeg/Makefile,v
> retrieving revision 1.225
> diff -u -p -u -p -r1.225 Makefile
> --- graphics/ffmpeg/Makefile 10 Sep 2022 06:23:06 -0000 1.225
> +++ graphics/ffmpeg/Makefile 5 Nov 2022 03:20:15 -0000
> @@ -1,8 +1,7 @@
> COMMENT= audio/video converter and streamer
>
> -V= 4.4.2
> +V= 4.4.3
> DISTNAME= ffmpeg-${V}
> -REVISION= 3
> EPOCH= 1
> CATEGORIES= graphics multimedia
> MASTER_SITES= https://ffmpeg.org/releases/
> @@ -90,8 +89,6 @@ CONFIGURE_ARGS+=--enable-shared \
> --cc=${CC} \
> --disable-debug \
> --disable-indev=jack \
> - --disable-indev=oss \
> - --disable-outdev=oss \
> --disable-outdev=sdl2 \
> --enable-avresample \
> --enable-fontconfig \
> Index: graphics/ffmpeg/distinfo
> ===================================================================
> RCS file: /home/cvs/ports/graphics/ffmpeg/distinfo,v
> retrieving revision 1.64
> diff -u -p -u -p -r1.64 distinfo
> --- graphics/ffmpeg/distinfo 25 Apr 2022 07:59:23 -0000 1.64
> +++ graphics/ffmpeg/distinfo 5 Nov 2022 03:20:26 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (ffmpeg-4.4.2.tar.xz) = r0Gaf4itvFbHWKsZtMcIr7yuFe8JYGuCuFUpH2pvqpM=
> -SIZE (ffmpeg-4.4.2.tar.xz) = 9562968
> +SHA256 (ffmpeg-4.4.3.tar.xz) = bFtsGV5hU0dmoLX+FqzJGRcMiDNiYSgW0KHH9PlHAG4=
> +SIZE (ffmpeg-4.4.3.tar.xz) = 9566020
> Index: graphics/ffmpeg/patches/patch-configure
> ===================================================================
> RCS file: /home/cvs/ports/graphics/ffmpeg/patches/patch-configure,v
> retrieving revision 1.71
> diff -u -p -u -p -r1.71 patch-configure
> --- graphics/ffmpeg/patches/patch-configure 20 Aug 2022 12:29:18 -0000 1.71
> +++ graphics/ffmpeg/patches/patch-configure 5 Nov 2022 03:24:19 -0000
> @@ -1,6 +1,6 @@
> - configure: use pkg-config for sndio
> - configure: add initial RISC-V support
> -- configure: extend SDL check to accept all 2.x versions
> +- Fix broken libatomic test
>
> Index: configure
> --- configure.orig
> @@ -60,16 +60,16 @@ Index: configure
>
> enable_weak_pic() {
> disabled pic && return
> -@@ -6555,7 +6562,7 @@ fi
> -
> - if enabled sdl2; then
> - SDL2_CONFIG="${cross_prefix}sdl2-config"
> -- test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 2.1.0" SDL_events.h SDL_PollEvent
> -+ test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 3.0.0" SDL_events.h SDL_PollEvent
> - if disabled sdl2 && "${SDL2_CONFIG}" --version > /dev/null 2>&1; then
> - sdl2_cflags=$("${SDL2_CONFIG}" --cflags)
> - sdl2_extralibs=$("${SDL2_CONFIG}" --libs)
> -@@ -6650,7 +6657,8 @@ enabled alsa && { check_pkg_config alsa alsa "alsa/aso
> +@@ -6189,7 +6196,7 @@ check_headers asm/types.h
> + #
> + # some configurations also require linking to libatomic, so try
> + # both with -latomic and without
> +-for LATOMIC in "-latomic" ""; do
> ++for LATOMIC in "" "-latomic"; do
> + check_builtin stdatomic stdatomic.h \
> + "atomic_int foo, bar = ATOMIC_VAR_INIT(-1); atomic_store(&foo, 0); foo += bar" \
> + $LATOMIC && eval stdatomic_extralibs="\$LATOMIC" && break
> +@@ -6657,7 +6664,8 @@ enabled alsa && { check_pkg_config alsa alsa "alsa/aso
> enabled libjack &&
> require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range
>
> Index: x11/mplayer/Makefile
> ===================================================================
> RCS file: /home/cvs/ports/x11/mplayer/Makefile,v
> retrieving revision 1.321
> diff -u -p -u -p -r1.321 Makefile
> --- x11/mplayer/Makefile 29 Apr 2022 08:54:18 -0000 1.321
> +++ x11/mplayer/Makefile 5 Nov 2022 03:40:14 -0000
> @@ -1,9 +1,9 @@
> COMMENT= movie player supporting many formats
>
> V= 20211106
> -FFMPEG_V= 4.4.2
> +FFMPEG_V= 4.4.3
> DISTNAME= mplayer-${V}
> -REVISION= 2
> +REVISION= 3
> CATEGORIES= x11 multimedia
> MASTER_SITES= https://comstyle.com/source/
> EXTRACT_SUFX= .tar.xz
>

No comments:

Post a Comment