head 1.36; access; symbols pkgsrc-2026Q1:1.33.0.2 pkgsrc-2026Q1-base:1.33 pkgsrc-2025Q4:1.30.0.2 pkgsrc-2025Q4-base:1.30 pkgsrc-2025Q3:1.27.0.2 pkgsrc-2025Q3-base:1.27 pkgsrc-2025Q2:1.26.0.2 pkgsrc-2025Q2-base:1.26 pkgsrc-2025Q1:1.23.0.2 pkgsrc-2025Q1-base:1.23 pkgsrc-2024Q4:1.22.0.2 pkgsrc-2024Q4-base:1.22 pkgsrc-2024Q3:1.17.0.2 pkgsrc-2024Q3-base:1.17 pkgsrc-2024Q2:1.15.0.2 pkgsrc-2024Q2-base:1.15 pkgsrc-2024Q1:1.12.0.2 pkgsrc-2024Q1-base:1.12 pkgsrc-2023Q4:1.8.0.2 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.2.0.4 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2; locks; strict; comment @# @; 1.36 date 2026.05.15.11.48.22; author adam; state Exp; branches; next 1.35; commitid 5Cro8XLt2zH69UFG; 1.35 date 2026.05.14.16.41.38; author ryoon; state Exp; branches; next 1.34; commitid tKipFjQKzke3NNFG; 1.34 date 2026.04.20.18.14.09; author adam; state Exp; branches; next 1.33; commitid 1UcBUbNUfJIk5JCG; 1.33 date 2026.02.06.10.05.26; author wiz; state Exp; branches; next 1.32; commitid MwQEYCXeWSFvIitG; 1.32 date 2026.01.07.08.48.06; author wiz; state Exp; branches; next 1.31; commitid 1wQ3ICD8eebefrpG; 1.31 date 2025.12.22.06.08.10; author adam; state Exp; branches; next 1.30; commitid YVGobEfcMaDpTmnG; 1.30 date 2025.12.04.16.23.55; author adam; state Exp; branches; next 1.29; commitid 1hS8CNyEAe4vS6lG; 1.29 date 2025.10.23.20.38.31; author wiz; state Exp; branches; next 1.28; commitid 1V2hBZn9ypXaCJfG; 1.28 date 2025.09.22.14.23.24; author adam; state Exp; branches; next 1.27; commitid tE1NaxGXwCYwyIbG; 1.27 date 2025.08.30.22.45.57; author wiz; state Exp; branches; next 1.26; commitid 2izPxU30rhec4O8G; 1.26 date 2025.04.24.14.15.15; author wiz; state Exp; branches; next 1.25; commitid A3VBjL8Zdd4LljSF; 1.25 date 2025.04.17.21.51.45; author wiz; state Exp; branches; next 1.24; commitid xcIXAVA292fk6sRF; 1.24 date 2025.04.12.06.54.20; author wiz; state Exp; branches; next 1.23; commitid 9ljkSS9zovZmjJQF; 1.23 date 2025.02.12.06.45.25; author ryoon; state Exp; branches; next 1.22; commitid wrOiT0jBBwBs99JF; 1.22 date 2024.12.02.19.30.59; author markd; state Exp; branches; next 1.21; commitid IYN5OsCojo02IXzF; 1.21 date 2024.11.24.06.59.09; author adam; state Exp; branches; next 1.20; commitid mY32r837jqp8ORyF; 1.20 date 2024.11.14.22.20.56; author wiz; state Exp; branches; next 1.19; commitid JmuDYqwL4erbdFxF; 1.19 date 2024.11.01.12.53.41; author wiz; state Exp; branches; next 1.18; commitid QB4Wk02mZPuBuWvF; 1.18 date 2024.11.01.00.52.54; author wiz; state Exp; branches; next 1.17; commitid QT27BdVP362gvSvF; 1.17 date 2024.09.16.07.20.17; author adam; state Exp; branches; next 1.16; commitid GV6dGxZDviyT80qF; 1.16 date 2024.08.03.06.52.01; author adam; state Exp; branches; next 1.15; commitid GcU7kZrfOHUJolkF; 1.15 date 2024.05.29.16.33.42; author adam; state Exp; branches; next 1.14; commitid n8aFyEjEVZA0JUbF; 1.14 date 2024.05.16.06.15.13; author wiz; state Exp; branches; next 1.13; commitid kYKPUni8AkogJbaF; 1.13 date 2024.04.06.09.33.00; author wiz; state Exp; branches; next 1.12; commitid qX5lXtD9z6Y9745F; 1.12 date 2024.01.30.14.22.23; author ryoon; state Exp; branches; next 1.11; commitid gARf2FgciecARtWE; 1.11 date 2024.01.27.02.54.36; author riastradh; state Exp; branches; next 1.10; commitid lurViWLuhiM6a2WE; 1.10 date 2024.01.27.02.53.01; author riastradh; state Exp; branches; next 1.9; commitid 6M7SF54H92qz92WE; 1.9 date 2024.01.22.13.17.01; author ryoon; state Exp; branches; next 1.8; commitid mWwkMGjpxTdrLrVE; 1.8 date 2023.11.13.15.46.54; author wiz; state Exp; branches; next 1.7; commitid z7akspBZ4DbuQsME; 1.7 date 2023.11.12.13.22.56; author wiz; state Exp; branches; next 1.6; commitid SjpNXQIV5XeZ3kME; 1.6 date 2023.11.09.16.31.18; author nia; state Exp; branches; next 1.5; commitid t7YmquBvbiu5dXLE; 1.5 date 2023.11.08.13.20.15; author wiz; state Exp; branches; next 1.4; commitid PsuHTklAIsF4bOLE; 1.4 date 2023.10.24.22.10.07; author wiz; state Exp; branches; next 1.3; commitid MTsrqKm6aGrQAVJE; 1.3 date 2023.10.19.15.08.34; author wiz; state Exp; branches; next 1.2; commitid FqM5CAZkB4e8rfJE; 1.2 date 2023.06.07.11.42.47; author markd; state Exp; branches; next 1.1; commitid 0ZLrm7rDWF1BB0sE; 1.1 date 2023.06.02.16.44.06; author wiz; state Exp; branches; next ; commitid xDDxovdiGrnZqorE; desc @@ 1.36 log @ffmpeg6 ffplay6: updated to 6.1.5 6.1.5 avcodec/dfpwmdec: Check nb_samples avcodec/alsdec: do not set nbits invalidly swscale/swscale_unscaled: adjust last line copy avformat/avidec: check LIST size in avi_load_index() avformat/avidec: validate INFO list size before parsing avformat/matroskadec: Check audio.sub_packet_h * audio.frame_size libavformat/xwma: fix overflow in seek position avformat/pcm: Use 64bit for byte_rate avfilter/vf_kerndeint: Check for minimum height avcodec/ralf: Add the missing return statement after the error log avfilter/vf_codecview: Clamp block to the visible frame region avcodec/zmbv: reject XOR data that overruns the decompression buffer avcodec/rasc: fix heap use-after-free in decode_move() avformat/rtpdec_mpeg4: reject zero-length AU header sections fftools/ffmpeg_opt: validate stream index in negative map handling avformat/rtmpproto: prevent integer overflow accumulating FLV buffer size avformat/rtmpproto: validate compressed SWF header length avformat/rtsp: Fix out-of-bounds read in SDP parser when control_url is empty avformat/rtpdec_latm: avoid integer overflow in LATM length parsing avcodec/h264: recompute per-slice direct mode state for every slice avcodec/h264_refs: Clear stale pointers from ref_list avcodec/pdvdec: Check input space before buffer allocation avformat/concat: guard total_size overflow avcodec/wmaenc: Fix missing padding in extradata avcodec/tdsc: remove double stride adjustment avformat/cafdec: fix negative index use in read_seek avcodec/notchlc: Check 255 loops avformat/rtpdec_jpeg: check qtable_len avformat/vividas: use-of-uninitialized-value in keybuffer avcodec/tdsc: Check jpeg size avcodec/tdsc: Better input size check avcodec/tdsc: Check tile_size avcodec/decode: Better documentation for ff_set_dimensions() avformat/mov: check extradata in mov_read_dops() avformat/mov: Check read size for opus extradata avformat/rtspdec: reject non-positive ANNOUNCE Content-Length avformat/wavdec: Fix use-of-uninitialized-value in find_guid() avformat/hls_sample_encryption: add missing padding for audio setup buffer lavfi: vf_drawtext: check memory allocation avcodec/svq1dec: Check input space for minimum avcodec/vp9: Rollback dimensions when format is rejected avformat/rtpdec_qdm2: Check block_size avfilter/vf_ssim360: fix integer overflow in tape_length allocation avcodec/escape130: Initialize old_y_avg avutil/samplefmt: Dont claim that av_get_sample_fmt_string checks sample_fmt avformat: check avio_read() return values in dss/dtshd/mlv avcodec/alsdec: preserve full float value in zero-truncated samples avcodec/alsdec: propagate read_diff_float_data() errors in read_frame_data() avcodec/alsdec: fix mantissa unpacking in compressed Part A path avfilter/vf_drawtext: fix newline rendered as .notdef glyph libavfilter/vf_v360: fix operator precedence in stereo loop condition avcodec/alsdec: fix abs(INT_MIN) UB in read_diff_float_data() avformat/rsd: reject short ADPCM_THP extradata reads avformat/mov: Handle integer overflow in MOV parser avcodec/dvdsub_parser: Fix buf_size check avfilter/af_pan: fix sscanf() return value checks in parse_channel_name avutil/bswap: fix implicit conversion warning in av_bswap64 avcodec/h2645_sei: don't use provider_code uninitialized avformat/mpegts: fix descriptor accounting across multiple IOD descriptors avcodec/xxan: zero-initialize y_buffer avcodec/exr: Check input space before reverse_lut() avcodec/cbs_h266_syntax_template: Check tile_y avcodec/h264_slice: reject slice_num >= 0xFFFF lavfi/bwdif: fix heap-buffer-overflow with small height videos avcodec/cbs_h266_syntax_template: Fix w/h typo avutil/timecode: Check for integer overflow in av_timecode_init_from_components() avcodec/cbs_h266_syntax_template: Fix rows vs columns avformat/mov: do not allocate out-of-range buffers avfilter/af_lv2: call lilv_instance_activate before lilv_instance_run avformat/rtmpproto: fix listen_timeout conversion for special negative values swscale/output: fix integer overflows in chroma in yuv2rgba64_X_c_template() avcodec/lcldec: Fixes uqvq overflow fftools/ffmpeg_demux: Check metadata provided filename avcodec/av1dec: sync frame header and tile group behavior with CBS avformat/mlvdec: avoid uninitialized read in read_string() avcodec/magicyuv: fix small median images swscale/output: Fix integer overflow in alpha in yuv2rgba64_1_c_template() swscale/utils: Check *Inc avfilter/vf_scale: Fix integer overflow in config_props() swscale/output: Fixes integer overflow in yuv2planeX_8_c swscale/utils: initialize chroma when luma switched to cascade avcodec/utils: fix duration computation based on frame_bytes avcodec/cbs_h266_syntax_template: bound slice width/height by remaining tiles avformat/rtsp: Pass blacklist avformat/rtsp: Explicitly check protocol avfilter/vf_convolution: Use avpriv_mirror avfilter/vf_convolution: Handle corner cases with small frames avcodec/pnmdec: Check input size against width*height assuming at least 1bit per pixel avcodec/snowenc: avoid NULL ptr arithmetic avformat/mov: use 64bit in CENC subsample bounds checks avutil/eval: Check depth of AVExpr avformat/vividas: Reset n_audio_subpackets on error avformat/matroskadec: Check that end_time_ns >= start_time_ns avcodec/vp3: Sanity check cropping avformat/dhav: Check avio_seek() return avformat/segafilm: dont read uninitialized value avcodec/mpegvideo_enc: Restructure ff_h263_encode_gob_header() relation to update_mb_info() avcodec/exr: check tile_attr.x/ySize avformat/demux: Fix integer overflows in select_from_pts_buffer() avcodec/golomb: Fix get_ur_golomb_jpegls() with esclen = 0 swresample/resample_template: add casts to avoid undefined overflows avcodec/h264_parser: Check pts for overflow avformat/wtvdec: Check that language is fully read avcodec/imm5: Dont pass EAGAIN on as is avcodec/interplayacm: Check input for fill_block() avcodec/hdrdec: Check input size before buffer allocation avcodec/flashsv: Check for input space before (re)allocating frame avcodec/mdec: Check input space vs minimal block size avcodec/h264_parser: Check remaining input length in loop in scan_mmco_reset() avcodec/exr: fix AVERROR typo avcodec/jpeg2000htdec: Check Lcup and Lref avcodec/cfhd: Check transform type before continuing avcodec/cfhd: Add CFHDSegment enum and named identifiers avcodec/hevc/ps: Check bit_depth_cm in/out relation avformat/icodec: Check size avformat/lrcdec: Check ss for finiteness avformat/http: Also count redirects from the cache avformat/http: allow adjusting the redirect limit fftools/ffmpeg_opt: limit recursion of presets swscale/rgb2rgb_template: fix signed shift into sign bit swresample: Check ch layouts in swr_alloc_set_opts2() swresample: Check user chlayout in swr_set_matrix() avcodec/bmp: fix indention avcodec/exr: Handle axmax like bxmin in 04d7a6d3db56ea1a93908ff2d3d312e3fc40a58c avformat/flvdec: Check *size in cts parsing avformat/cafdec: Check nb_entries in read_info_chunk() avcodec/vp9: Reallocate on resolution change which does not change tile_cols avformat/img2dec: Check avio_size() for failure avformat/mpegtsenc: Check remaining space in SDT avformat/img2enc: Check split planes packet size avformat/yuv4mpegen: Sanity check input packet frame dimensions avformat/iff: Error out with 0 channel loudspeaker configuration Fix overflow in STSD parser avcodec/adpcm: Check input buffer size avformat/scd: Use ffio_read_size() avformat/hls: Check for integer overflow with #EXTINF: avcodec/dca_xll: Clear padding in ff_dca_xll_parse() vfilter/vf_find_rect: Clamp x/y min/max to valid values avcodec/dca_xll: Check get_rice_array() avformat/mpegts: Check program_info_length avformat/mpegts: Check IOD_DESCRIPTOR len avcodec/qdm2: fix heap-use-after-free in qdm2_decode_frame avcodec/jpeg2000dec: Print bpno level when erroring out avformat/dashdec: check value valid after read value from mpd xml swscale/utils: zero init filter memory as before lavc/j2kdec: Do not ignore colour association for packed formats swscale/utils: Sanity check sizeFactor swscale/utils: Avoid FF_ALLOC_TYPED_ARRAY() and use av_malloc_array() directly avcodec/mjpegdec: fix segfault on extern_huff and no extradata avcodec/exr: use av_realloc_array() avcodec/omx: Check extradata size and nFilledLen avfilter/scale_eval: Use 64bit for factor_w/h avfilter/scale_eval: Avoid undefined behavior with double to int cast avformat/http: Check that the protocol of redirects is http or https doc/mailing-list-faq.texi: Fix typo in link anchor avfilter/vf_find_rect: Fix handling odd sized images avcodec/notchlc: zero-initialize history buffer avfilter/vf_stack: add checks for the final canvas dimensions lavc/vvc: Prevent OOB write to slice_top_left_ctu_x in PPS CBS avcodec/mjpegdec: only test the size bound in sequential mjpeg avcodec/jpeg2000htdec: Check pLSB avformat/hls: fix double space avformat/hls: Check seg size and offset for overflow avformat/flac_picture: Correct check avfilter/vf_neighbor_opencl: add error condition when filter name doesn't match avfilter/vf_libopencv: make sure there is space for null-terminator in shape_str fate: add missing options in config template (fforge/pr/22395) swscale/x86/yuv2rgb_template: Add emms to MMX(EXT) functions (fforge/pr/21701) avcodec/tableprint_vlc: Unbreak hardcoded tables forgejo: backport CI job names (fforge/pr/21339) avformat/img2dec: reject input images too big to fit into a single packet avfilter/af_amerge: fix possible crash with custom layouts (fforge/pr/21061) avfilter/stack_internal: fix checkheaders test doc/examples/qsv_transcode: EINVAL is more appropriate and ENAVAIL will fail build with visual studio all: apply linter fixes tools/check_arm_indent: skip empty glob forgejo: apply needed CI changes for 6.1 forgejo: backport CI to release/6.1 @ text @# $NetBSD: Makefile,v 1.35 2026/05/14 16:41:38 ryoon Exp $ PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg6/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://ffmpeg.org/ COMMENT= Decoding, encoding and streaming software (v6.x) CONFIGURE_ARGS+= --enable-avfilter CONFIGURE_ARGS+= --enable-postproc CONFIGURE_ARGS+= --disable-ffplay INSTALLATION_DIRS= lib/ffmpeg6 share/doc/ffmpeg6 .include "../../mk/bsd.prefs.mk" .if ${_USE_RPATH:tl} != "no" CONFIGURE_ARGS+= --enable-rpath .endif PRINT_PLIST_AWK+= /html/ { $$0 = "$${PLIST.doc}" $$0 } PRINT_PLIST_AWK+= /css/ { $$0 = "$${PLIST.doc}" $$0 } TEST_TARGET= check post-install: ${INSTALL_DATA} ${WRKSRC}/doc/*.txt \ ${DESTDIR}${PREFIX}/share/doc/ffmpeg6 .include "options.mk" # disable asm on i386 to avoid text relocations .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+= --disable-asm .endif # configure script uses uname -m to detect arch, as opposed to uname -p in # GNU/configure. Unable to detect NetBSD/macppc hosts correctly. CONFIGURE_ARGS+= --arch=${MACHINE_ARCH} .include "../../multimedia/ffmpeg6/Makefile.common" .include "../../mk/bsd.pkg.mk" @ 1.35 log @*: Recursive revbump from security/nettle-4.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2026/04/20 18:14:09 adam Exp $ a3 1 PKGREVISION= 5 @ 1.34 log @revbump for x265 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2026/02/06 10:05:26 wiz Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.33 log @*: recursive bump for nettle 4.0 shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2026/01/07 08:48:06 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.32 log @*: recursive bump for icu 78.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2025/12/22 06:08:10 adam Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.31 log @revbump for x264 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2025/12/04 16:23:55 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.30 log @ffmpeg6 ffplay6: updated to 6.1.4 version 6.1.4: avutil/common: cast GET_BYTE/GET_16BIT returned value avfilter/vf_drawtext: fix call GET_UTF8 with invalid argument avfilter/vf_drawtext: fix incorrect text length avfilter/vf_drawtext: Account for bbox text seperator avcodec/utvideodec: Set B for the width= 1 case in restore_median_planar_il() avcodec/osq: Fix 32bit sample overflow avformat/rtpdec_rfc4175: Only change PayloadContext on success avformat/rtpdec_rfc4175: Check dimensions avformat/rtpdec_rfc4175: Fix memleak of sampling avformat/http: Fix off by 1 error avcodec/exr: spelling avcodec/exr: use tile dimensions in pxr24 UINT case avcodec/exr: Simple check for available channels avformat/sctp: Check size in sctp_write() avformat/rtmpproto: consider command line argument lengths avformat/rtmpproto_ Check tcurl and flashver length avcodec/g723_1enc: Make min_err 64bit avcodec/vlc: Clear val8/16 in vlc_multi_gen() by av_mallocz() avformat/rtpenc_h264_hevc: Check space for nal_length_size in ff_rtp_send_h264_hevc() swscale/output: Fix integer overflow in yuv2ya16_X_c_template() avcodec/exr: Check that DWA has 3 channels avcodec/exr: check ac_size avcodec/exr: Round dc_w/h up avcodec/mjpegdec: Explain buf_size/width/height check avformat/avidec: Fix integer overflow iff ULONG_MAX < INT64_MAX fftools/ffmpeg_mux_init: Fix double-free on error avformat/aviobuf: Keep checksum_ptr consistent in avio_seek() avcodec/librsvgdec: fix compilation with librsvg 2.50.3 aacenc_tns: clamp filter direction energy measurement avcodec/dxv: Check coded_height, to avoid invalid av_clip() avcodec/aac/aacdec: dont allow ff_aac_output_configure() allocating a new frame if it has no frame avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32 avcodec/sanm: Check w,h,left,top avcodec/utvideodec: Clear plane_start array fftools/ffmpeg_mux_init: Use 64bit for score computation in map_auto_video() lavc/aarch64: Fix addp overflow in ff_pred16x16_plane_neon_10 avcodec/x86/pngdsp: add missing emms at the end of add_png_paeth_prediction @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2025/10/23 20:38:31 wiz Exp $ d4 1 @ 1.29 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2025/09/22 14:23:24 adam Exp $ a3 1 PKGREVISION= 1 @ 1.28 log @ffmpeg6 ffplay6: updated to 6.1.3 version 6.1.3: libavfilter/dnn/dnn_backend_tf: Remove redundant av_freep() to avoid double free avcodec/dxv: Check that we initialize op_data avcodec/exr: Check for pixel type consistency in DWA avcodec/libvorbisdec: avoid overflow when assinging sample rate from long to int avcodec/g726: init missing sample rate avformat/lrcdec: limit input timestamp range to avoid overflows avcodec/scpr3: Clear clr avcodec/ilbcdec: Clear cbvec when used with create_augmented_vector() avcodec/jpeg2000dec: Make sure the 4 extra bytes allocated are initialized avfilter/avf_showcqt: fix unbounded index when copying to fft_data avcodec/aacsbr_template: Check ilb avcodec/utvideodec: Set B for the width= 1 case avcodec/ffv1: Clear state on alloc avcodec/jpeg2000dec: implement cdef remapping during pixel format matching avcodec/jpeg2000dec: move cdef default check into get_siz() avcodec/exr: Check rle_raw_data and surroundings avcodec/exr: Dont access outside xsize/ysize examples: Add check and replace av_free() to avoid potential memory errors libavcodec/tests/snowenc: Add av_free() to avoid memory leak libavfilter/af_firequalizer: Add check for av_malloc_array() libavcodec/videotoolbox_vp9: Move av_malloc() to avoid memory leak avcodec/mpc8: init avctx->sample_rate avcodec/cbs_h266_syntax_template: fix out of bounds access avformat/libopenmpt: fix seeking weirdness avformat/hls: add cmfv/cmfa exceptions avformat/lrcdec: support arbitrary precision timestamp avcodec/ffv1dec: Disable frame threading due to race condition (origin/release/6.1, fforge/release/6.1) swscale/swscale_unscaled: use 8 line alignment for planarCopyWrapper with dithering Update for 6.1.3 libavcodec/tests/motion: Add check for avcodec_alloc_context3() avcodec/tests/avpacket: Add av_free() to avoid memory leak examples: Add av_freep to avoid potential memory leak avcodec/tests/avpacket: Add av_packet_free() to avoid memory leak avcodec/fits: Clear naxis avcodec/vqavideo; Check bytestream2_get_buffer() reading next_codebook_buffer avcodec/lzf: Check for input space avcodec/imc: Clear padding of buf16 avcodec/iff: Clear ham_buf avcodec/cri: Check bytestream2_get_buffer() for end avcodec/cri: Factor read_len out avformat/dashdec: Allocate space for appended "/" avcodec/mpegvideo_dec: Fix lowres=3 field select interlaced mpeg4 frame avformat/mxg: clear AV_INPUT_BUFFER_PADDING_SIZE avformat/vqf: Ensure that comm_chunk is fully read avformat/mov: make sure file_checksum is fully initialized avformat/asfdec_f: Check amount of value read avcodec/jpegxl_parser: add sanity check for frame size avformat/concatdec: Clip duration in one more case in get_best_effort_duration() avcodec/ffv1dec: Check k in get_vlc_symbol() avcodec/cfhd: Check idwt_buf size before allocation avcodec/ivi: Check luma/chroma mb_size avcodec/motion_est: don't add offsets to NULL pointers swscale/swscale_unscaled: don't add offsets to NULL pointers libavcodec/alsdec.c: Add check for av_malloc_array() and av_calloc() avcodec/psd: Move frame allocation after RLE processing avcodec/smacker: Move buffer allocation to later avcodec/opus: don't materialize buf pointer from null avcodec/speexdec: consider differing frame sizes in remaining space check avformat/iff: Check nb_channels == 0 in CHNL avcodec/osq: Request a coding mode 2 sample avcodec/osq: Switch back to av_ceil_log2() avcodec/osq: Add note about update_stats() count avcodec/osq: Fix signed integer overflow in update_stats() avcodec/mss2dsp: use FF_PTR_ADD to add offsets to a pointer avformat/movenc: fix writing reserved bits in EC3SpecificBox avcodec/hevc/hevcdec: Check num_entry_point_offsets avcodec/speexdec: Pass and check remaining packets to decode functions avcodec/rkmppdec: Fix double-free on error avcodec/ppc/vp8dsp_altivec: Fix out-of-bounds access fftools/ffmpeg_demux: don't flag timestamps as unreliable if they are generated avformat/matroskadec: check that channels fit in signed 32bit int avcodec/takdec: Check remaining space for first predictors avcodec/svq3: Check there are bits left before decompression avcodec/sonic: Check num_taps avformat/imf_cpl: fix indention after previous commit avformat/imf_cpl: do not continue looping forever avformat/mov: reject negative ELST durations avformat/avidec: Ignore duplicate GAB2 avcodec/h264_mb: Fix tmp_cr for arm avcodec/vorbisdec: Dont treat overread as error avformat/iff: Check nb_channels == 0 in MHDR tests/fate/filter-video: Fix dependancy for codecview libpostproc: check minimum size avformat/hls: Fix flash1.bogulus.cfd support avformat/hls: Split allowed_segment_extensions off allowed_extensions avformat/hls: Fix Youtube AAC avformat/hls: add fmp4 to allowed_extensions avformat/hls: Add ec3 to allowed_extensions avformat/hls: Add cmfv and cmfa to allowed_extensions postproc/postprocess_template: Fix reading uninitialized pixels in dering_C() configure: Clearer documentation for "disable-safe-bitstream-reader" avcodec/osq: avoid undefined negation swscale/output: Fix integer overflow in yuv2gbrp_full_X_c() avcodec/libtheora: fix setting keyframe_mask avfilter/buffersrc: check for valid sample rate doc: replace http/git by https urls configure: update copyright year avformat/hls: Partially revert "reduce default max reload to 3" avfilter/asrc_afirsrc: fix by one smaller allocation of buffer avfilter/bwdif: account for chroma sub-sampling in min size calculation avfilter/af_afwtdn: fix crash with EOF handling avfilter/vf_colorcorrect: fix memory leaks avfilter/vf_codecview: fix heap buffer overflow avformat/iff: Check that we have a stream in read_dst_frame() avformat/mlvdec: fix size checks avformat/wavdec: Fix overflow of intermediate in block_align check avformat/mxfdec: Check edit unit for overflow in mxf_set_current_edit_unit() avformat/hls: Fix twitter libavformat/hls: Be more restrictive on mpegts extensions avformat/hls: .ts is always ok even if its a mov/mp4 avcodec/h263dec: Check against previous dimensions instead of coded avformat/hls: Print input format in error message avformat/hls: Be more picky on extensions avformat/mxfdec: Check avio_read() success in mxf_decrypt_triplet() avcodec/huffyuvdec: Initialize whole output for decode_gray_bitstream() avformat/ipmovie: Check signature_buffer read avformat/wtvdec: Initialize buf avcodec/cbs_vp9: Initialize VP9RawSuperframeIndex avformat/vqf: Propagate errors from add_metadata() avformat/vqf: Check avio_read() in add_metadata() avformat/dashdec: Check whitelist avutil/avstring: dont mess with NULL pointers in av_match_list() avfilter/vf_v360: Fix NULL pointer use avcodec/mpegvideo_enc: Check FLV1 resolution limits avcodec/ffv1enc: Fix handling of 32bit unsigned symbols avcodec/vc1dec: Clear block_index in vc1_decode_reset() avcodec/aacsbr_template: Clear n_q on error avcodec/osq: Fixes several undefined overflows in do_decode() swscale/output: Fix undefined overflow in yuv2rgba64_full_X_c_template() avfilter/af_pan: Fix sscanf() use avfilter/vf_grayworld: Use the correct pointer for av_log() avfilter/vf_addroi: Add missing NULL termination to addroi_var_names[]() avcodec/get_buffer: Use av_buffer_mallocz() for audio same as its done for video avformat/jpegxl_anim_dec: clear buffer padding avformat/rmdec: check that buf if completely filled avcodec/cfhdenc: Clear dwt_tmp avcodec/hapdec: Clear tex buffer avformat/mxfdec: Check that key was read sucessfull avformat/rpl: Fix check for negative values avformat/mlvdec: Check avio_read() avcodec/utils: Fix block align overflow for ADPCM_IMA_WAV avformat/matroskadec: Check pre_ns for overflow tools/target_dec_fuzzer: Adjust threshold for EACMV tools/target_dec_fuzzer: Adjust threshold for MVC1 tools/target_dec_fuzzer: Adjust Threshold for indeo5 avutil/timecode: Avoid fps overflow in av_timecode_get_smpte_from_framenum() avcodec/webp: Check ref_x/y avcodec/ilbcdec: Initialize tempbuff2 avformat/qcp: Check for read failure in header avcodec/eatgq: Check bytestream2_get_buffer() for failure avformat/dxa: check bpc swscale/slice: clear allocated memory in alloc_lines() avcodec/h2645_parse: Ignore NAL with nuh_layer_id == 63 avcodec/mjpegdec: Disallow progressive bayer images avformat/icodec: fix integer overflow with nb_pal doc/developer: Document relationship between git accounts and MAINTAINERS avformat/vividas: Check avio_read() for failure avformat/ilbc: Check avio_read() for failure avformat/nistspheredec: Clear buffer avformat/mccdec: Initialize and check rate.den avformat/rpl: check channels INSTALL: explain the circular dependency issue and solution avformat/mpegts: Initialize predefined_SLConfigDescriptor_seen avformat/mxfdec: Fix overflow in midpoint computation swscale/output: used unsigned for bit accumulation avcodec/rangecoder: only perform renorm check/loop for callers that need it avcodec/ffv1dec: Fix end computation with ec=2 avcodec/ffv1enc: Prevent generation of files with broken slices avformat/matroskadec: Check desc_bytes so bits fit in 64bit avformat/mov: Avoid overflow in dts avcodec/ffv1enc: Correct error message about unsupported version avcodec/ffv1enc: Slice combination is unsupported avcodec/ffv1enc: 2Pass mode is not possible with golomb coding avcodec/ffv1enc: Fix >8bit context size avcodec/xan: Add basic input size check avcodec/imm4: Check input size avcodec/svq3: Check for minimum size input avcodec/eacmv: Check input size for intra frames tools/target_dec_fuzzer: Adapt threshold for RASC avcodec/encode: Check bitrate avcodec/cbs_h266_syntax_template: Check bit depth with range extension avcodec/osq: use unsigned for decorrelation avcodec/jfdctint_template: use unsigned z* in row_fdct() avformat/asf: Check picsize avcodec/osq: Treat sum = 0 as k = 0 avformat/mxfdec: Check timecode for overflow avformat/mxfdec: More offset_temp checks swscale/output: Fix undefined integer overflow in yuv2rgba64_2_c_template() swscale/swscale: Use unsigned operation to avoid undefined behavior avcodec/vc2enc: basic sanity check on slice_max_bytes avformat/mvdec: Check if name was fully read avcodec/wmavoice: Do not use uninitialized pitch[0] avformat/argo_brp: Check that ASF chunk header is completely read avcodec/notchlc: Check bytes left before reading avcodec/vc1_block: propagate error codes avformat/apetag: Check APETAGEX avcodec/magicyuvenc: better slice height avcodec/avcodec: Warn about data returned from get_buffer*() avformat/av1dec: Better fix for 70872/clusterfuzz-testcase-minimized-ffmpeg_dem_OBU_fuzzer-6005782487826432 avcodec/apac: Fix discards ‘const’ qualifier avcodec/alsdec: clear last_acf_mantissa avcodec/aic: Clear slice_data avcodec/vc1dec: Clear mb_type_base and ttblk_base avcodec/shorten: clear padding avformat/mpeg: Check an avio_read() for failure avcodec/apac: Clean padding space avcodec/mvha: Clear remaining space after inflate() bsf/media100_to_mjpegb: Clear output buffer padding avformat/segafilm: Set keyframe avcodec/sga: av_assert1 check init_get_bits8() tools/target_dec_fuzzer: Check that FFv1 doesnt leave uninitialized memory in its buffers avdevice/dshow: Initialize 2 pointers avcodec/dxva2: initialize hr in ff_dxva2_common_end_frame() avcodec/dxva2: initialize validate avcodec/dxva2: Initialize ConfigBitstreamRaw avcodec/dxva2: Initialize dxva_size and check it avfilter/vf_xfade: Compute w2, h2 with float avfilter/vf_v360: Assert that vf was initialized avfilter/vf_tonemap_opencl: Dereference after NULL check avfilter/af_surround: Check output format avfilter/vf_xfade_opencl: Check ff_inlink_consume_frame() for failure avformat/lmlm4: Eliminate some AVERROR(EIO) tools/target_dec_fuzzer: Use av_buffer_allocz() to avoid missing slices to have unpredictable content avformat/wtvdec: Check length of read mpeg2_descriptor avformat/wtvdec: clear sectors avcodec/parser: ensure input padding is zeroed avformat/jpegxl_anim_dec: ensure input padding is zeroed avformat/img2dec: Clear padding data after EOF avformat/wavdec: Check if there are 16 bytes before testing them Revert "avformat/mpegts: update stream info when PMT ES stream_type changes" configure: Use MSYSTEM_CARCH for default arch on msys2 avfilter/avfiltergraph: fix regression in picking channel layout avformat/mpegts: update stream info when PMT ES stream_type changes avformat/wavdec: increase requested probe score for codec probe lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang v2 lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang avformat/mov: (v4) fix get_eia608_packet configure: Improve the check for the rsync --contimeout option rtmpproto: Avoid rare crashes in the fail: codepath in rtmp_open lavc/hevcdec: pass an actual codec context to ff_h2645_sei_to_frame() lavc/aarch64: Fix ff_pred16x16_plane_neon_10 lavc/aarch64: Fix ff_pred8x8_plane_neon_10 vp9: recon: Use emulated edge to prevent buffer overflows arm: vp9mc: Load only 12 pixels in the 4 pixel wide horizontal filter aarch64: vp9mc: Load only 12 pixels in the 4 pixel wide horizontal filter riscv: test for assembler support avfilter/f_loop: fix aloop activate logic avfilter/f_loop: fix length of aloop leftover buffer avcodec/jpegxl_parser: fix reading lz77-pair as initial entropy symbol avcodec/jpegxl_parser: check entropy_decoder_read_symbol return value avutil/hwcontext: Don't assume frames_uninit is reentrant avutil/wchar_filename: re-introduce explicit cast of void* to char* avcodec/libx265: unbreak build for X265_BUILD >= 213 lavc/hevcdec: set per-CTB filter parameters for WPP lavc/hevc: check framerate num/den to be strictly positive lavc/libx265: unbreak build for X265_BUILD >= 210 avformat/libzmq: fix check for zmq protocol prefix configure: improve check for POSIX ioctl configure: restore autodetection of v4l2 and fbdev avformat/hlsenc: correctly reset subtitle stream counter per-varstream libavcodec/arm/mlpdsp_armv5te: fix label format to work with binutils 2.43 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2025/08/30 22:45:57 wiz Exp $ d4 1 @ 1.27 log @*: recursive bump for tiff growing lerc dependency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2025/04/24 14:15:15 wiz Exp $ a3 1 PKGREVISION= 11 @ 1.26 log @*: recursive bump for jpeg -> libjpeg-turbo switch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2025/04/17 21:51:45 wiz Exp $ d4 1 a4 1 PKGREVISION= 10 @ 1.25 log @*: recursive bump for icu 77 and libxml2 2.14 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2025/04/12 06:54:20 wiz Exp $ d4 1 a4 1 PKGREVISION= 9 @ 1.24 log @*: recursive bump for libtheora 1.2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2025/02/12 06:45:25 ryoon Exp $ d4 1 a4 1 PKGREVISION= 8 @ 1.23 log @*: Recursive revbump from audio/flac-1.5.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2024/12/02 19:30:59 markd Exp $ d4 1 a4 1 PKGREVISION= 7 @ 1.22 log @ffmpeg6: Fix build with x265 >=210 https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/1f801dfdb5 https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/4571c80b40 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2024/11/24 06:59:09 adam Exp $ d4 1 a4 1 PKGREVISION= 6 @ 1.21 log @revbump for x265 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2024/11/14 22:20:56 wiz Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.20 log @*: recursive bump for icu 76 shlib major version bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2024/11/01 12:53:41 wiz Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.19 log @*: revbump for icu downgrade @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2024/11/01 00:52:54 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.18 log @*: recursive bump for icu 76.1 shlib bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2024/09/16 07:20:17 adam Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.17 log @Revbump for x265 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2024/08/03 06:52:01 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.16 log @ffmpeg6 ffplay6: updated to 6.1.2 version 6.1.2 avcodec/snow: Fix off by 1 error in run_buffer avcodec/utils: apply the same alignment to YUV410 as we do to YUV420 for snow swscale: [loongarch] Fix checkasm-sw_yuv2rgb failure. avcodec/pngenc: fix sBIT writing for indexed-color PNGs avcodec/pngdec: use 8-bit sBIT cap for indexed PNGs per spec avcodec/videotoolboxenc: Fix bitrate doesn't work as expected Changelog: update avdevice/dshow: Don't skip audio devices if no video device is present avcodec/hdrenc: Allocate more space avcodec/cfhdenc: Height of 16 is not supported avcodec/cfhdenc: Allocate more space avcodec/osq: fix integer overflow when applying factor avcodec/osq: avoid using too large numbers for shifts and integers in update_residue_parameter() avcodec/vaapi_encode: Check hwctx avcodec/proresdec: Consider negative bits left avcodec/alsdec: Clear shift_value avcodec/hevc/hevcdec: Do not allow slices to depend on failed slices avfilter/vf_xfade: Check ff_inlink_consume_frame() for failure avutil/slicethread: Check pthread_*_init() for failure avutil/frame: Check log2_crop_align avutil/buffer: Check ff_mutex_init() for failure avformat/xmv: Check this_packet_size avformat/ty: rec_size seems to only need 32bit avformat/tty: Check avio_size() avformat/siff: Basic pkt_size check avformat/sauce: Check avio_size() for failure avformat/sapdec: Check ffurl_get_file_handle() for error avformat/nsvdec: Check asize for PCM avformat/mp3dec: Check header_filesize avformat/mp3dec; Check for avio_size() failure avformat/mov: Use 64bit for str_size avformat/mm: Check length avformat/hnm: Check *chunk_size avformat/hlsenc: Check ret avformat/bintext: Check avio_size() return avformat/asfdec_o: Check size of index object avfilter/vf_scale: Check ff_scale_adjust_dimensions() for failure avfilter/scale_eval: Use 64bit, check values in ff_scale_adjust_dimensions() avfilter/vf_lut3d: Check av_scanf() avfilter/vf_elbg: Use unsigned for shifting into the top bit avfilter/vf_deshake_opencl: Ensure that the first iteration initializes the best variables swscale/output: Fix integer overflows in yuv2rgba64_X_c_template avformat/mxfdec: Reorder elements of expression in bisect loop avutil/timecode: Use a 64bit framenum internally avcodec/pnmdec: Use 64bit for input size check avcodec/mpeg12enc: Use av_rescale() in vbv_buffer_size computation avcodec/utvideoenc: Use unsigned shift to build flags avcodec/j2kenc: Merge dwt_norm into lambda avcodec/vc2enc: Fix overflows with storing large values avcodec/mpegvideo_enc: Do not duplicate pictures on shifting avdevice/dshow_capture: Fix error handling in ff_dshow_##prefix##_Create() avcodec/tiff: Check value on positive signed targets avfilter/vf_convolution_opencl: Assert that the filter name is one of the filters avfilter/vf_bm3d: Dont round MSE2SSE to an integer avdevice/dshow: Remove NULL check on pin avdevice/dshow: check ff_dshow_pin_ConnectionMediaType() for failure avdevice/dshow: Check device_filter_unique_name before use avdevice/dshow: Cleanup also on av_log case avdevice/dshow_filter: Use wcscpy_s() avcodec/flac_parser: Assert that we do not overrun the link_penalty array avcodec/osq: avoid signed overflow in downsample path avcodec/pixlet: Simplify pfx computation avcodec/motion_est: Fix score squaring overflow avcodec/mlpenc: Use 64 for ml, mr avcodec/loco: Check loco_get_rice() for failure avcodec/loco: check get_ur_golomb_jpegls() for failure avcodec/imm4: check cbphi for error avcodec/iff: Use signed count avcodec/golomb: Assert that k is in the supported range for get_ur/sr_golomb() avcodec/golomb: Document return for get_ur_golomb_jpegls() and get_sr_golomb_flac() avcodec/dxv: Fix type in get_opcodes() avcodec/cri: Check length avcodec/xsubdec: Check parse_timecode() avutil/imgutils: av_image_check_size2() ensure width and height fit in 32bit doc/examples/mux: remove nop avcodec/proresenc_kostya: use unsigned alpha for rotation avformat/rtpenc_rfc4175: Use 64bit in computation if copy_offset avformat/rtmppkt: Simplify and deobfuscate amf_tag_skip() slightly avformat/rmdec: use 64bit for audio_framesize checks avutil/wchar_filename: Correct sizeof avutil/hwcontext_d3d11va: correct sizeof IDirect3DSurface9 avutil/hwcontext_d3d11va: Free AVD3D11FrameDescriptor on error avutil/hwcontext_d3d11va: correct sizeof AVD3D11FrameDescriptor doc/examples/vaapi_encode: Try to check fwrite() for failure avformat/usmdec: Initialize value avformat/tls_schannel: Initialize ret avformat/subfile: Assert that whence is a known case avformat/subfile: Merge if into switch() avformat/rtsp: Check that lower transport is handled in one of the if() avformat/rtsp: initialize reply1 avformat/rtsp: use < 0 for error check avformat/rtpenc_vc2hq: Check sizes avfilter/af_aderivative: Free out on error swscale/swscale: Use ptrdiff_t for linesize computations avfilter/af_afir: Assert format avfilter/af_afftdn: Assert format avfilter/af_pan: check nb_output_channels before use cbs_av1: Reject thirty-two zero bits in uvlc code avfilter/af_mcompand: compute half frequency in double avfilter/af_channelsplit: Assert that av_channel_layout_channel_from_index() succeeds avfilter/af_aresample: Cleanup on av_channel_layout_copy() failure tools/coverity: Phase 1 study of anti-halicogenic for coverity av_rescale() avfilter/vf_avgblur: Check plane instead of AVFrame avfilter/drawutils: Fix depthb computation avfilter/avf_showcwt: Check av_parse_video_rate() for failure avformat/rdt: Check pkt_len avformat/mpeg: Check len in mpegps_probe() avformat/mxfenc: resurrects the error print avdevice/dshow: Check ICaptureGraphBuilder2_SetFiltergraph() for failure avcodec/mfenc: check IMFSample_ConvertToContiguousBuffer() for failure avcodec/vc1_loopfilter: Factor duplicate code in vc1_b_h_intfi_loop_filter() avformat/img2dec: assert no pipe on ts_from_file avcodec/cbs_jpeg: Try to move the read entity to one side in a test fftools/ffmpeg_enc: Initialize fd fftools/ffmpeg_enc: simplify opaque_ref check avformat/mov: Check edit list for overflow fftools/ffmpeg: Check read() for failure MAINTAINERS: Add Timo Rothenpieler to server admins swscale/output: Avoid undefined overflow in yuv2rgb_write_full() swscale/output: alpha can become negative after scaling, use multiply avcodec/targaenc: Allocate space for the palette avcodec/r210enc: Use av_rescale for bitrate avcodec/jfdctint_template: Fewer integer anomalies avcodec/snowenc: MV limits due to mv_penalty table size tools/target_dec_fuzzer: Adjust threshold for MV30 tools/target_dec_fuzzer: Adjust threshold for jpeg2000 avformat/mxfdec: Check container_ul->desc before use avcodec/libvpxenc: Cleanup on error MAINTAINERS: Update the entries for the release maintainer for FFmpeg configure: update copyright year doc/developer: Provide information about git send-email and gmail avfilter/vf_rotate: Check ff_draw_init2() return value avformat/mov: Use int64_t in intermediate for corrected_dts avformat/mov: Use 64bit in intermediate for current_dts avformat/matroskadec: Assert that num_levels is non negative avformat/libzmq: Check av_strstart() avformat/img2dec: Little JFIF / Exif cleanup avformat/img2dec: Move DQT after unrelated if() avformat/imfdec: Simplify get_next_track_with_minimum_timestamp() avdevice/xcbgrab: Check sscanf() return fftools/cmdutils: Add protective () to FLAGS avformat/sdp: Check before appending "," avcodec/ilbcdec: Remove dead code avcodec/vp8: Check cond init avcodec/vp8: Check mutex init avcodec/proresenc_anatoliy: Assert that AV_PROFILE_UNKNOWN is replaced avcodec/pcm-dvdenc: 64bit pkt-size avcodec/notchlc: Check init_get_bits8() for failure avcodec/tests/dct: Use 64bit in intermediate for error computation avcodec/scpr3: Check add_dec() for failure avcodec/rv34: assert that size is not 0 in rv34_gen_vlc_ext() avcodec/wavpackenc: Use unsigned for potential 31bit shift avcodec/tests/jpeg2000dwt: Use 64bit in comparission avcodec/tests/jpeg2000dwt: Use 64bit in err2 computation avformat/fwse: Remove always false expression avcodec/sga: Make it clear that the return is intentionally not checked avformat/asfdec_f: Use 64bit for preroll computation avformat/argo_asf: Use 64bit in offset intermediate avformat/ape: Use 64bit for final frame size avformat/ac4dec: Check remaining space in ac4_probe() avdevice/pulse_audio_enc: Use av_rescale() to avoid integer overflow avcodec/vlc: Cleanup on multi table alloc failure in ff_vlc_init_multi_from_lengths() avcodec/tiff: Assert init_get_bits8() success in unpack_gray() avcodec/tiff: Assert init_get_bits8() success in horizontal_fill() tools/decode_simple: Check avcodec_send_packet() for errors on flushing swscale/yuv2rgb: Use 64bit for brightness computation swscale/x86/swscale: use a clearer name for INPUT_PLANER_RGB_A_FUNC_CASE avutil/tests/opt: Check av_set_options_string() for failure avutil/tests/dict: Check av_dict_set() before get for failure avdevice/dshow: fix badly indented line avformat/demux: resurrect dead stores avcodec/tests/bitstream_template: Assert bits_init8() return tools/enc_recon_frame_test: Assert that av_image_get_linesize() succeeds fftools/ffmpeg: prefer real errors over EOF in err_merge() avcodec/png: more informative error message for invalid sBIT size avcodec/pngdec: avoid erroring with sBIT on indexed-color images avcodec/nvenc: fix segfault in intra-only mode aarch64: Add OpenBSD runtime detection of dotprod and i8mm using sysctl qsv: Initialize impl_value avutil/hwcontext_qsv: fix GCC 14.1 warnings lavc/vp9: reset segmentation fields when segmentation isn't enabled configure: enable ffnvcodec, nvenc, nvdec for FreeBSD avcodec/mscc & mwsc: Check loop counts before use avcodec/mpegvideo_enc: Fix potential overflow in RD avcodec/mpeg4videodec: assert impossible wrap points avcodec/mpeg12dec: Use 64bit in bit computation avcodec/vqcdec: Check init_get_bits8() for failure avcodec/vble: Check av_image_get_buffer_size() for failure avcodec/vp3: Replace check by assert avcodec/vp8: Forward return of ff_vpx_init_range_decoder() avcodec/jpeg2000dec: remove ST=3 case avcodec/qsvdec: Check av_image_get_buffer_size() for failure avcodec/exr: Fix preview overflow avcodec/decode: decode_simple_internal() only implements audio and video avcodec/fmvc: remove dead assignment avcodec/h2645_sei: Remove dead checks avcodec/h264_slice: Remove dead sps check avcodec/lpc: copy levenson coeffs only when they have been computed avutil/tests/base64: Check with too short output array libavutil/base64: Try not to write over the array end avcodec/cbs_av1: Avoid shift overflow fftools/ffplay: Check return of swr_alloc_set_opts2() tools/opt_common: Check for malloc failure doc/examples/demux_decode: Simplify loop avformat/concatdec: Check file avcodec/mpegvideo_enc: Fix 1 line and one column images avcodec/amrwbdec: assert mode to be valid in decode_fixed_vector() avcodec/wavarc: fix integer overflow in decode_5elp() block type 2 swscale/output: Fix integer overflow in yuv2rgba64_full_1_c_template() swscale/output: Fix integer overflow in yuv2rgba64_1_c_template avcodec/av1dec: Change bit_depth to int avcodec/av1dec: bit_depth cannot be another values than 8,10,12 avcodec/avs3_parser: assert the return value of init_get_bits() avcodec/avs2_parser: Assert init_get_bits8() success with const size 15 avformat/mxfdec: Check body_offset avformat/kvag: Check sample_rate avcodec/atrac9dec: Check init_get_bits8() for failure avcodec/ac3_parser: Check init_get_bits8() for failure avcodec/pngdec: Check last AVFrame before deref avcodec/hevcdec: Check ref frame doc/examples/qsv_transcode: Initialize pointer before free doc/examples/qsv_transcode: Simplify str_to_dict() loop doc/examples/vaapi_transcode: Simplify loop doc/examples/qsv_transcode: Simplify loop avcodec/cbs_h2645: Check NAL space avfilter/vf_thumbnail_cuda: Set ret before checking it avfilter/signature_lookup: Dont copy uninitialized stuff around avfilter/signature_lookup: Fix 2 differences to the refernce SW avcodec/x86/vp3dsp_init: Set correct function pointer, fix crash avformat/mp3dec: change bogus error message if read_header encounters EOF avformat/mp3dec: simplify inner frame size check in mp3_read_header avformat/mp3dec: only call ffio_ensure_seekback once avutil/thread: fix pthread_setname_np parameters for NetBSD and Apple avutil/thread: add support for setting thread name on *bsd and solaris avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD lavd/v4l2: Use proper field type for second parameter of ioctl() with BSD's avfilter/avfilter: fix OOM case for default activate avfilter/buffersrc: switch to activate avcodec/mediacodecenc: set quality in cq mode Update for 6.1.2 fate/subtitles: Ignore line endings for sub-scc test avformat/mxfdec: Check index_edit_rate swscale/utils: Fix xInc overflow avcodec/wavarc: fix signed integer overflow in block type 6/19 doc/developer: (security) researchers should be credited avformat/isom: Uninit layout in ff_mp4_read_dec_config_descr() avcodec/exr: Dont use 64bits to hold 6bits avcodec/exr: Check for remaining bits in huf_unpack_enc_table() avcodec/apedec: Use NABS to avoid undefined negation avformat/mpegts: Reset local nb_prg on add_program() failure avformat/aiffdec: Check for previously set channels avformat/mxfdec: Make edit_unit_byte_count unsigned avformat/movenc: Check that cts fits in 32bit avformat/mxfdec: Check first case of offset_temp computation for overflow avcodec/jpeg2000htdec: warn about non zero roi shift avcodec/jpeg2000htdec: Check magp before using it in a shift avfilter/vf_signature: Dont crash on no frames avformat/westwood_vqa: Fix 2g packets avformat/matroskadec: Check timescale avformat/wavdec: satuarte next_tag_ofs, data_end avformat/wavdec: sanity check channels and bps before using them for block_align avformat/sbgdec: Check for negative duration avformat/rpl: Use 64bit for total_audio_size and check it avformat/timecode: use 64bit for intermediate for rounding in fps_from_frame_rate() avformat/mov: use 64bit for intermediate for rounding avformat/jacosubdec: Use 64bit for abs avformat/concatdec: Check user_duration sum avcodec/wavarc: avoid signed integer overflow in AC code avcodec/wavarc: Avoid signed integer overflow in sample avcodec/truemotion1: Height not being a multiple of 4 is unsupported avcodec/rtv1: fix undefined FFALIGN avcodec/hcadec: do not allow code to continue after failed init avcodec/hcadec: do not set hfr_group_count to invalid values avformat/concatdec: clip outpoint - inpoint overflow in get_best_effort_duration() avcodec/osq: avoid several signed integer overflows avformat/jacosubdec: clarify code avformat/cafdec: Check that data chunk end fits within 64bit avformat/iff: Saturate avio_tell() + 12 avformat/dxa: Adjust order of operations around block align avformat/cafdec: dont seek beyond 64bit avformat/id3v2: read_uslt() check for the amount read avcodec/vmixdec: Check shift before use avformat/mov: Check sample_count and auxiliary_info_default_size to be 0 avformat/wady: Check >0 samplerate and channels 1 || 2. avcodec/cbs_h266_syntax_template: Check tile_y avcodec/proresenc_kostya: Remove bug similarity text avcodec/vorbisdec: Check remaining data in vorbis_residue_decode_internal() avformat/concatdec: Check in and outpoints to be to produce a positive representable duration avcodec/8bps: Consider width in the minimal size check libswscale/utils: Fix bayer to yuvj swscale/swscale: Check srcSliceH for bayer swscale/utils: Allocate more dithererror avcodec/indeo3: Round dimensions up in allocate_frame_buffers() avutil/rational: Document what is to be expected from av_d2q() of doubles representing rational numbers avfilter/signature_lookup: Do not dereference NULL pointers after malloc failure avfilter/signature_lookup: dont leave uncleared pointers in sll_free() avcodec/mpegvideo_enc: Use ptrdiff_t for stride libavformat/hlsenc.c: Populate OTI using AAC profile in write_codec_attr. avformat/mov: Check if a key is longer than the atom containing it avcodec/nvenc: support SDK 12.2 bit depth API avcodec/nvenc: stop using long deprecated format specifiers avfilter/buffersrc: fix overriding unknown channel layouts with negotiated one avfilter/af_channelmap: disallow channel index 64 avfilter/af_channelmap: fix mapping if in_channel was a string but out_channel was not specified avfilter/af_channelmap: fix error message if FL source channel was missing avcodec/nvdec: reset bitstream_len/nb_slices when resetting bitstream pointer avformat/mov: don't abort on duplicate Mastering Display Metadata boxes fftools/ffplay: use correct buffersink channel layout parameters avformat/mpegts: detect synchronous metadata KLV more reliably swresample/resample: fix rounding errors with filter_size=1 and phase_shift=0 avformat/mxfdec: remove resolve_strong_ref usage with AnyType avfilter/vf_convolution: add float user_rdiv[4] to allow user options to apply correctly avformat/libsrt: use SRT_EPOLL_IN for waiting for an incoming connection avformat/mxfdec: do not use AnyType when resolving Descriptors and MultipleDescriptors avformat/mxfdec: move resolving Descriptors to the multi descriptor resolve function avutil/hwcontext_d3d11va: prefer DXGI 1.1 factory when available avcodec/libsvtav1: send the EOS signal without a one frame delay to allow for the library to operate in a low-delay mode avcodec/libsvtav1: add version guard for external param lavc/vvc: Read subpic ID when only one subpicture is present lavc/vvc: Correct sps_num_subpics_minus1 minimum avcodec/cbs_h2645: Avoid function pointer casts, fix UB avcodec/cbs_h266_syntax_template: Don't omit unused function parameter avcodec/cbs_h266_syntax_template: check aps_adaptation_parameter_set_id lavc/vvc: Add check to num_multi_layer_olss avcodec/cbs_h266: fix logic setting num_layers_in_ols when vps_ols_mode_idc is 2 avcodec/av1dec: fix matrix coefficients exposed by codec context {avcodec,tests}: rename the bundled Mesa AV1 vulkan video headers avformat/mov_chan: never override number of channels based on chan atom avformat/mov_chan: do not assume channels are in native order avfft: avoid overreads with RDFT API users avcodec/nvdec: don't free NVDECContext->bitstream avcodec/mediacodecdec: fix return EAGAIN after EOF @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2024/05/29 16:33:42 adam Exp $ d4 1 @ 1.15 log @revbump after icu and protobuf updates @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2024/05/16 06:15:13 wiz Exp $ a3 1 PKGREVISION= 6 @ 1.14 log @*: recursive bump for gnutls p11-kit option (existing installations need the bl3.mk included, but it's now only optionally included) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2024/04/06 09:33:00 wiz Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.13 log @*: bump for x265 API change Reported by Marc Baudoin @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2024/01/30 14:22:23 ryoon Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.12 log @*: Recursive revbump from audio/pulseaudio-17.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2024/01/27 02:54:36 riastradh Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.11 log @multimedia/ffmpeg*: powerpc altivec fix is not cross-only Revbump so new _native_ powerpc builds will get this fix too. Add a comment explaining why we do this. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2024/01/27 02:53:01 riastradh Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.10 log @multimedia/ffmpeg6: sync cross-build and powerpc changes from ffmpeg5 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2024/01/22 13:17:01 ryoon Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.9 log @*: Recursive revbump from multimedia/libvpx @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2023/11/13 15:46:54 wiz Exp $ a20 7 .if ${USE_CROSS_COMPILE:U:tl} == yes CONFIGURE_ARGS+= --enable-cross-compile CONFIGURE_ARGS+= --host-cc=${NATIVE_CC:Q} CONFIGURE_ARGS+= --host-ld=${NATIVE_CC:Q} CONFIGURE_ARGS+= --target-os=${LOWER_OPSYS} .endif @ 1.8 log @ffmpeg6,ffplay6: update to 6.1.0 version 6.1: - libaribcaption decoder - Playdate video decoder and demuxer - Extend VAAPI support for libva-win32 on Windows - afireqsrc audio source filter - arls filter - ffmpeg CLI new option: -readrate_initial_burst - zoneplate video source filter - command support in the setpts and asetpts filters - Vulkan decode hwaccel, supporting H264, HEVC and AV1 - color_vulkan filter - bwdif_vulkan filter - nlmeans_vulkan filter - RivaTuner video decoder - xfade_vulkan filter - vMix video decoder - Essential Video Coding parser, muxer and demuxer - Essential Video Coding frame merge bsf - bwdif_cuda filter - Microsoft RLE video encoder - Raw AC-4 muxer and demuxer - Raw VVC bitstream parser, muxer and demuxer - Bitstream filter for editing metadata in VVC streams - Bitstream filter for converting VVC from MP4 to Annex B - scale_vt filter for videotoolbox - transpose_vt filter for videotoolbox - support for the P_SKIP hinting to speed up libx264 encoding - Support HEVC,VP9,AV1 codec in enhanced flv format - apsnr and asisdr audio filters - OSQ demuxer and decoder - Support HEVC,VP9,AV1 codec fourcclist in enhanced rtmp protocol - CRI USM demuxer - ffmpeg CLI '-top' option deprecated in favor of the setfield filter - VAAPI AV1 encoder - ffprobe XML output schema changed to account for multiple variable-fields elements within the same parent element - ffprobe -output_format option added as an alias of -of @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2023/11/12 13:22:56 wiz Exp $ d4 1 @ 1.7 log @*: revebump for new brotli option for freetype2 Addresses PR 57693 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2023/11/09 16:31:18 nia Exp $ a3 1 PKGREVISION= 6 @ 1.6 log @ffmpeg[2-6]: Fixes for Darwin/powerpc. - Do not universally --enable-rpath (it might not be supported) - Limit nasm dependency to x86. - Do not enable X11 as a default option. This isn't technically a fix, just a sensemaking improvement. X11 support in ffmpeg is used to capture video from an X display, Darwin users are unlikely to be running an X server as their primary display. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/11/08 13:20:15 wiz Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.5 log @*: recursive bump for icu 74.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/10/24 22:10:07 wiz Exp $ d4 1 a4 1 PKGREVISION= 4 a10 1 CONFIGURE_ARGS+= --enable-rpath d17 4 @ 1.4 log @*: bump for openssl 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/10/19 15:08:34 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.3 log @*: recursive bump for dav1d 1.3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/06/07 11:42:47 markd Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.2 log @ffmpeg6: expose av_stream_get_first_dts() required by chromium patch from ArchLinux @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/06/02 16:44:06 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.1 log @multimedia/ffmpeg6: import ffmpeg6-6.0 FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library. This package contains major version 6. Changes compared to 5: A new major release, FFmpeg 6.0 "Von Neumann", is now available for download. This release has many new encoders and decoders, filters, ffmpeg CLI tool improvements, and also, changes the way releases are done. All major releases will now bump the version of the ABI. We plan to have a new major release each year. Another release-specific change is that deprecated APIs will be removed after 3 releases, upon the next major bump. This means that releases will be done more often and will be more organized. New decoders featured are Bonk, RKA, Radiance, SC-4, APAC, VQC, WavArc and a few ADPCM formats. QSV and NVenc now support AV1 encoding. The FFmpeg CLI (we usually reffer to it as ffmpeg.c to avoid confusion) has speed-up improvements due to threading, as well as statistics options, and the ability to pass option values for filters from a file. There are quite a few new audio and video filters, such as adrc, showcwt, backgroundkey and ssim360, with a few hardware ones too. Finally, the release features many behind-the-scenes changes, including a new FFT and MDCT implementation used in codecs (expect a blog post about this soon), numerous bugfixes, better ICC profile handling and colorspace signalling improvement, introduction of a number of RISC-V vector and scalar assembly optimized routines, and a few new improved APIs, which can be viewed in the doc/APIchanges file in our tree. A few submitted features, such as the Vulkan improvements and more FFT optimizations will be in the next minor release, 6.1, which we plan to release soon, in line with our new release schedule. Some highlights are: Radiance HDR image support ddagrab (Desktop Duplication) video capture filter ffmpeg -shortest_buf_duration option ffmpeg now requires threading to be built ffmpeg now runs every muxer in a separate thread Add new mode to cropdetect filter to detect crop-area based on motion vectors and edges VAAPI decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9 WBMP (Wireless Application Protocol Bitmap) image format a3dscope filter bonk decoder and demuxer Micronas SC-4 audio decoder LAF demuxer APAC decoder and demuxer Media 100i decoders DTS to PTS reorder bsf ViewQuest VQC decoder backgroundkey filter nvenc AV1 encoding support MediaCodec decoder via NDKMediaCodec MediaCodec encoder oneVPL support for QSV QSV AV1 encoder QSV decoding and encoding for 10/12bit 422, 10/12bit 444 HEVC and VP9 showcwt multimedia filter corr video filter adrc audio filter afdelaysrc audio filter WADY DPCM decoder and demuxer CBD2 DPCM decoder ssim360 video filter ffmpeg CLI new options: -stats_enc_pre[_fmt], -stats_enc_post[_fmt], -stats_mux_pre[_fmt] hstack_vaapi, vstack_vaapi and xstack_vaapi filters XMD ADPCM decoder and demuxer media100 to mjpegb bsf ffmpeg CLI new option: -fix_sub_duration_heartbeat WavArc decoder and demuxer CrystalHD decoders deprecated SDNS demuxer RKA decoder and demuxer filtergraph syntax in ffmpeg CLI now supports passing file contents as option values hstack_qsv, vstack_qsv and xstack_qsv filters @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2023/06/06 19:09:42 ryoon Exp $ d4 1 @