head 1.15; access; symbols pkgsrc-2026Q1:1.15.0.4 pkgsrc-2026Q1-base:1.15 pkgsrc-2025Q4:1.15.0.2 pkgsrc-2025Q4-base:1.15 pkgsrc-2025Q3:1.12.0.4 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.2 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.10.0.2 pkgsrc-2025Q1-base:1.10 pkgsrc-2024Q4:1.6.0.2 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.3.0.2 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.2.0.2 pkgsrc-2024Q2-base:1.2; locks; strict; comment @# @; 1.15 date 2025.11.21.14.22.04; author adam; state Exp; branches; next 1.14; commitid EZHal6lgfKFwCqjG; 1.14 date 2025.09.27.09.00.26; author triaxx; state Exp; branches; next 1.13; commitid zlmIA9VfkqwWBkcG; 1.13 date 2025.09.22.14.21.20; author adam; state Exp; branches; next 1.12; commitid Vl0JMPxP25RTxIbG; 1.12 date 2025.05.22.19.42.40; author nia; state Exp; branches; next 1.11; commitid EwPJjXlGEbmghWVF; 1.11 date 2025.04.17.14.21.38; author nia; state Exp; branches; next 1.10; commitid E6GlEkIr3iSKCpRF; 1.10 date 2025.03.03.16.14.24; author adam; state Exp; branches; next 1.9; commitid DA3c7QJAVOUdHDLF; 1.9 date 2025.01.09.10.29.19; author jperkin; state Exp; branches; next 1.8; commitid bSFlHcMWJWUyuNEF; 1.8 date 2025.01.09.10.20.50; author jperkin; state Exp; branches; next 1.7; commitid i8NxyAhKB7oArNEF; 1.7 date 2025.01.09.10.16.04; author jperkin; state Exp; branches; next 1.6; commitid 2HitP0VsJBPQpNEF; 1.6 date 2024.10.21.12.16.51; author nia; state Exp; branches; next 1.5; commitid 02U4aCHZzJtUEwuF; 1.5 date 2024.10.21.11.26.39; author nia; state Exp; branches; next 1.4; commitid O9FpCsl9AFaAnwuF; 1.4 date 2024.10.09.04.29.58; author ryoon; state Exp; branches; next 1.3; commitid qdptsfgGMifCsWsF; 1.3 date 2024.08.03.06.53.10; author adam; state Exp; branches; next 1.2; commitid TxK5GdN6zORbplkF; 1.2 date 2024.05.27.07.52.48; author adam; state Exp; branches; next 1.1; commitid hRre46ml4ZY1VBbF; 1.1 date 2024.04.07.17.50.23; author ryoon; state Exp; branches; next ; commitid BZfFv5Lzq4AVPe5F; desc @@ 1.15 log @ffmpeg7 ffplay7: updated to 7.1.3 version 7.1.3: 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 avformat/avformat: also clear FFFormatContext packet queue when closing a muxer avfilter/vf_drawtext: Account for bbox text seperator avcodec/mediacodecdec_common: Check that the input to mediacodec_wrap_sw_audio_buffer() contains channel * sample_size 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/hevc/sei: prevent storing a potentially bogus num_ref_displays value in HEVCSEITDRDI 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/aviobuf: Keep checksum_ptr consistent in avio_seek() fftools/ffmpeg_sched: prevent demuxers from getting stuck lavc/aarch64: Fix addp overflow in ff_pred16x16_plane_neon_10 avcodec/mlpdec: don't depend on context channel layout when setting substream masks avformat/demux: pass new extradata to the parser avcodec/svq1enc: restrict Altivec acceleration to big-endian POWER configurations libavutil/arm: Rename the HWCAP defines libavutil/arm: Make use of elf_aux_info() on FreeBSD/OpenBSD avcodec/decode: sync initial_pict_type and intra_only_flag with thread worker's avctx avcodec/x86/pngdsp: add missing emms at the end of add_png_paeth_prediction @ text @# $NetBSD: Makefile.common,v 1.14 2025/09/27 09:00:26 triaxx Exp $ # used by multimedia/ffmpeg7/Makefile # used by multimedia/ffplay7/Makefile DISTNAME= ffmpeg-7.1.3 CATEGORIES= multimedia MASTER_SITES= https://www.ffmpeg.org/releases/ EXTRACT_SUFX= .tar.xz LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 ${ADDITIONAL_LICENSE} PATCHDIR= ${.CURDIR}/../../multimedia/ffmpeg7/patches FILESDIR= ${.CURDIR}/../../multimedia/ffmpeg7/files USE_LIBTOOL= yes USE_TOOLS+= gmake pod2man perl pkg-config HAS_CONFIGURE= yes CONFIGURE_ARGS+= --cc=${CC:Q} CONFIGURE_ARGS+= --disable-debug CONFIGURE_ARGS+= --disable-optimizations CONFIGURE_ARGS+= --disable-stripping CONFIGURE_ARGS+= --enable-gpl CONFIGURE_ARGS+= --enable-libxml2 CONFIGURE_ARGS+= --enable-pthreads CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --progs-suffix=7 CONFIGURE_ARGS+= --enable-runtime-cpudetect CONFIGURE_ARGS+= --datadir=${PREFIX}/share/ffmpeg7 CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/ffmpeg7 CONFIGURE_ARGS+= --incdir=${PREFIX}/include/ffmpeg7 CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/ffmpeg7 CONFIGURE_ARGS+= --shlibdir=${PREFIX}/lib/ffmpeg7 LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ffmpeg7 .include "../../mk/compiler.mk" # https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/issues/140 .if ${CC_VERSION:Mclang-15.*} LDFLAGS.Darwin+= -Wl,-ld_classic .endif # Reserve header space on macOS for later install_name_tool fixes LDFLAGS.Darwin+= -Wl,-headerpad_max_install_names .if ${USE_CROSS_COMPILE: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} . include "../../mk/endian.mk" . if ${MACHINE_ENDIAN} == "big" CONFIGURE_ENV+= bigendian=yes . endif .endif # fails otherwise due to movz/movn in assembler code .if ${MACHINE_ARCH:Mmips64*} || ${MACHINE_ARCH:Mmipsn64*} CFLAGS.NetBSD+= -march=mips4 .endif # altivec support is detected at runtime, and only code that is gated # on the runtime detection can use it. The code in ffmpeg that is # gated on the runtime detection doesn't need -maltivec -mabi=altivec. # But passing -maltivec -mabi=altivec tells the compiler that _any_ # code, whether or not gated on runtime detection, can be done with # altivec -- and the compiler will quietly take advantage of this, # e.g. to zero-initialize objects on the stack. This doesn't work too # well on powerpc CPUs without altivec, so nix the arguments. .if ${MACHINE_ARCH:Mpowerpc*} BUILDLINK_TRANSFORM+= rm:-maltivec BUILDLINK_TRANSFORM+= rm:-mabi=altivec .endif .if ${MACHINE_PLATFORM:MDarwin-1[2-9].*-*} || ${MACHINE_PLATFORM:MDarwin-2*} CONFIGURE_ARGS+= --enable-opencl .endif .if ${OPSYS} == "SunOS" USE_TOOLS+= bash:build CONFIG_SHELL= ${TOOLS_PATH.bash} .endif # Let's not put garbage into /tmp CONFIGURE_ENV+= TMPDIR=${WRKSRC}/tmp .if !empty(PKGSRC_COMPILER:Msunpro) SUBST_CLASSES+= sunwspro SUBST_MESSAGE.sunwspro= Fixing compiler options for SunStudio C compiler. SUBST_STAGE.sunwspro= post-configure SUBST_FILES.sunwspro= config.mak SUBST_SED.sunwspro= -e "s/-O /-KPIC -DPIC /" SUBST_SED.sunwspro+= -e "s/-O3/-xO2/g" SUBST_SED.sunwspro+= -e "s/-std=c99/-xc99=all/" SUBST_SED.sunwspro+= -e "s/-Wl,-rpath-link,/-L /g" .endif .if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386 TOOL_DEPENDS+= nasm>=2.13:../../devel/nasm .endif REPLACE_PERL+= doc/texi2pod.pl REPLACE_SH+= configure REPLACE_SH+= ffbuild/pkgconfig_generate.sh REPLACE_SH+= ffbuild/version.sh PLIST_SRC+= ${PKGDIR}/PLIST MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q} pre-configure: ${MKDIR} ${WRKSRC}/tmp .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000 ${MKDIR} ${BUILDLINK_DIR}/include/sys cp ${FILESDIR}/videoio.h ${BUILDLINK_DIR}/include/sys .endif .include "../../archivers/bzip2/buildlink3.mk" .include "../../archivers/xz/buildlink3.mk" .include "../../devel/libgetopt/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../mk/atomic64.mk" .include "../../mk/pthread.buildlink3.mk" @ 1.14 log @ffmpeg7: Reserve header space for Darwin pkgsrc changes: --------------- * Reserve header space on macOS for later install_name_tool fixes. At least games/corsix-th embeds ffmpeg libraries in its bundle and install_name_tool fails otherwise. * Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.13 2025/09/22 14:21:20 adam Exp $ d5 1 a5 1 DISTNAME= ffmpeg-7.1.2 @ 1.13 log @ffmpeg7 ffplay7: updated to 7.1.2 version 7.1.2: doc/examples/vaapi_encode: fix invalid check on fwrite avcodec/librsvgdec: fix compilation with librsvg 2.50.3 fftools/ffmpeg: fix gracefully shutdown fftools/ffmpeg_demux: ensure the display_rotation option is honored avcodec/mjpegdec: use ff_frame_new_side_data() to export display matrix aacdec_usac: use RefStruct to track unfinished extension buffers avcode: Use av_fast_realloc() in ff_lzf_uncompress() 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() libavfilter/dnn/dnn_backend_tf: Remove redundant av_freep() to avoid double free avcodec/dxv: Use av_fast_realloc() for op_data avcodec/dxv: Use av_fast_realloc() and clear all new space avcodec/dxv: Clear ctex avcodec/dxv: Check that we initialize op_data avcodec/exr: Check for pixel type consistency in DWA avcodec/d3d12va_encode: fix label followed by a declaration warning 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/aac/aacdec_usac: Limit sfo from noise offset to be above -200 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 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 avcodec/shorten: Clear the additionally allocated space on realloc avformat/vqf: Ensure that comm_chunk is fully read avformat/mov: make sure file_checksum is fully initialized avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation avformat/asfdec_f: Check amount of value read avcodec/jpegxl_parser: add sanity check for frame size avcodec/ffv1dec: don't check chroma_planes for f->colorspace > 0 avcodec/ffv1dec: don't add offsets to more NULL pointers 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 avfilter/vaf_spectrumsynth: don't use uninitialized variable as scale avcodec/motion_est: don't add offsets to NULL pointers swscale/swscale_unscaled: don't add offsets to NULL pointers avcodec/ffv1dec: 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 fftools/cmdutils: don't try to load arguments from file if not needed avcodec/opus: don't materialize buf pointer from null avfilter/avfilter: fix forwarding EOF for simple API filters in filter_activate_default avcodec/speexdec: consider differing frame sizes in remaining space check lavc/vvc: Fix condition for using default scaling factor avformat/mov: Check that sample_count is allocated in mov_parse_heif_items() 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 swscale/swscale_unscaled: use 8 line alignment for planarCopyWrapper with dithering aacenc_tns: clamp filter direction energy measurement fftools/ffmpeg_demux: don't flag timestamps as unreliable if they are generated avformat/iamf_parse: prevent overreads in update_extradata avformat/iamf_parse: increase PutBytes buffer when writing AAC extradata 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 MAINTAINERS: Add entry for samples-request avcodec/h264_mb: Fix tmp_cr for arm avcodec/vorbisdec: Dont treat overread as error avcodec/hevc/ps: Fix dependant layer id check avformat/iff: Check nb_channels == 0 in MHDR tests/fate/filter-video: Fix dependancy for codecview postproc/postprocess_template: fix dering with a 16x16 image 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 handling of first row of dering_C 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 doc: replace http/git by https urls Revert "avformat/mpegts: update stream info when PMT ES stream_type changes" avformat/matroska: Support JPEG2000 for demuxing avformat/matroskadec: Fix VfW extradata size configure: Use MSYSTEM_CARCH for default arch on msys2 avcodec/lcevcdec: don't try to write to output frames directly avfilter/avfiltergraph: fix regression in picking channel layout avformat/mpegts: update stream info when PMT ES stream_type changes avcodec/libzvbi-teletextdec: change new lines to \n in ASS header avformat/wavdec: increase requested probe score for codec probe avcodec/h264_slice: insert LCEVC side data before get_buffer() call avformat/hls: Fix get key file error avcodec/bsf/h264_mp4toannexb: Fix mixed bitstream format avformat/mov: Reduce seek when interleaved_read is disabled avfilter/vf_setparams: Fix chroma_location being cleared configure: Enable -fno-common for Darwin targets, avoid linker warnings configure: Only try to use the -no_warn_duplicate_libraries flag on Darwin configure: Silence Xcode warnings about duplicate libraries avcodec/mediacodecdec_common: Workaround MTK broken crop implementation avcodec/Makefile: include aom_film_grain.o file for h264_sei component 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 avcodec/libsvtav1: unbreak build with latest svtav1 fftools/ffmpeg_filter: also remove display matrix side data from buffered frames @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.12 2025/05/22 19:42:40 nia Exp $ d45 3 @ 1.12 log @ffmpeg[3-7]: Fix building on n64 mips. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.11 2025/04/17 14:21:38 nia Exp $ d5 1 a5 1 DISTNAME= ffmpeg-7.1.1 @ 1.11 log @ffmpeg[7,5,4,3]: Fix build on NetBSD/mips64 The assembler code uses MIPS IV instructions while the NetBSD toolchain defaults to MIPS III. This renders the package uncompilable. ffmpeg2 is unaffected, ffmpeg6 already has the fix applied. XXX unsure if we're running mips64 on any MIPS III processors by default, but this is at least better than the package failing on every mips64 processor @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.10 2025/03/03 16:14:24 adam Exp $ d57 1 a57 1 .if ${MACHINE_ARCH:Mmips64*} @ 1.10 log @ffmpeg7 ffplay7: updated to 7.1.1 version 7.1.1: avformat/hls: Partially revert "reduce default max reload to 3" avformat/mov: (v4) fix get_eia608_packet avformat/iff: Check that we have a stream in read_dst_frame() avcodec/aac/aacdec_lpd: Limit get_unary() avcodec/aac/aacdec_usac: Simplify decode_usac_scale_factors() avcodec/aac/aacdec: Clear SFO on error 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 avcodec/vvc/refs: fix negative pps_scaling_win offsets 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/iamf_parse: ensure there's at most one of each parameter types in audio elements avformat/iamf_parse: add missing constrains for num_parameters in audio_element_oub() avformat/iamf_parse: add missing av_free() call on failure path lavc/hevcdec: unbreak WPP/progress2 code fate: Add a dependency on ffprobe for fate-flcl1905 checkasm: aacencdsp: Actually test nonzero values in quant_bands x86: aacencdsp: Fix negating signed values in aac_quantize_bands rtmpproto: Avoid rare crashes in the fail: codepath in rtmp_open configure: Improve the check for the rsync --contimeout option avutil/downmix_info: add missing semicolon doc/t2h: Support texinfo 7.1 and 7.2 pretest avfilter/drawtext: fix memory leak when using "reinit" runtime command avutil/downmix_info: zero the allocated buffer avformat/mov: fix overflow in drift timestamp calculation Changelog: update avformat/mxfdec: Check avio_read() success in mxf_decrypt_triplet() avcodec/huffyuvdec: Initialize whole output for decode_gray_bitstream() avformat/iamf_reader: Initialize padding and check read in ff_iamf_read_packet() 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() avcodec/ffv1enc: Fix RCT for GBR colorspace 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 avformat/mov: perform sanity checks for heif before index building avformat/mov: Factorize sanity check out avcodec/vc1dec: Clear block_index in vc1_decode_reset() avcodec/aacsbr_template: Clear n_q on error avformat/iamf_parse: Check output_channel_count 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/hevc: fix writing hvcC when no arrays are provided in hvcC-formatted input avformat/rtpdec: int overflow in start_time_realtime avcodec/decode: Fix incorrect enum type used in side_data_map() avformat/mov: fix crash when trying to get a fragment time for a non-existing fragment avformat/libssh: fix credential variables typo avformat/hlsenc: check return value of avcodec_parameters_copy() avformat/dashdec: format open_demux_for_component() avformat/dashdec: check return code of avcodec_parameters_copy() avformat/dashdec: return ret directly in open_demux_for_component() avformat/smoothstreamingenc: check return value of avcodec_parameters_copy() avcodec/cbs_av1: fix variable shadowing in cbs_av1_split_fragment() doc/demuxers/dvdvideo: seeking is supported, remove outdated statement avformat/dvdvideodec: check return code of ff_dvdclut_yuv_to_rgb() avformat/dvdvideodec: fix missing last chapter marker due to off-by-one avformat/dvdvideodec: don't allow seeking beyond dvdnav reported duration avformat/dvdvideodec: discard duplicate or partial AC3 samples avformat/dvdvideodec: drop packets with unset PTS or DTS avformat/dvdvideodec: remove unnecessary need_parsing argument avformat/dvdvideodec: open subdemuxer after initializing IFO headers avformat/dvdvideodec: remove auto value for menu_lu option avformat/dvdvideodec: default menu_vts option to 1 and clarify description avformat/dvdvideodec: check the length of a NAV packet when reading titles avformat/dvdvideodec: reset the subdemuxer on discontinuity instead of flushing avformat/dvdvideodec: simplify dvdvideo_read_packet() avformat/dvdvideodec: enable chapter calculation for menus avformat/dvdvideodec: standardize the NAV packet event signal avformat/dvdvideodec: move memcpy below missed NAV packet warning avformat/dvdvideodec: remove "auto" value for -pg option, default to 1 avformat/dvdvideodec: measure duration of the current menu VOBU in state avformat/dvdvideodec: fix menu PGC number off-by-one in state avformat/dvdvideodec: remove unused headers lavc/aarch64: Fix ff_pred16x16_plane_neon_10 lavc/aarch64: Fix ff_pred8x8_plane_neon_10 aarch64/vvc: Fix clip in alf 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 avformat/rpl: Fix check for negative values avformat/mlvdec: Check avio_read() avcodec/aac/aacdec: Free channel layout avformat/mov: dereference pointer after null check 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/aac/aacdec_usac: Dont leave type at a invalid value avcodec/aac/aacdec_usac: Clean ics2->max_sfb when first SCE fails avcodec/webp: Check ref_x/y avcodec/ilbcdec: Initialize tempbuff2 swscale/swscale_unscaled: Fix odd height with nv24_to_yuv420p_chroma() avcodec/hevc/hevcdec: initialize qp_y_tab 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 MAINTAINERS: Lauri is still available but is really low on time nowadays MAINTAINERS: Remove Guillaume Poirier and Romain Dolbeau avcodec/mjpegdec: Disallow progressive bayer images avformat/icodec: fix integer overflow with nb_pal doc/developer: Document relationship between git accounts and MAINTAINERS doc/infra: Document trac backup system doc/infra: Document gitolite 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 swscale/rgb2rgb_template: Fix ff_rgb24toyv12_c() with odd height avcodec/rangecoder: only perform renorm check/loop for callers that need it avcodec/ffv1: add a named constant for the quant table size avcodec/ffv1: RCT is only possible with RGB avcodec/ffv1enc: Fix RCT with RGB64 avcodec/ffv1dec: Fix end computation with ec=2 avcodec/ffv1enc: Move slice termination into threads 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/ffv1: Store and reuse sx/sy avcodec/ffv1enc: Slice combination is unsupported avcodec/ffv1enc: 2Pass mode is not possible with golomb coding avfilter/buffersrc: check for valid sample rate avcodec/libdav1d: clear the buffered Dav1dData on decoding failure avformat/iamf_writer: ensure the stream groups are not empty avformat/iamf_writer: fix setting num_samples_per_frame for OPUS avformat/iamf_parse: fix setting duration for the last subblock in a parameter definition avformat/iamf_parse: add checks to parameter definition durations avformat/iamf_parse: reject ambisonics mode > 1 checkasm: Print benchmarks of C-only functions avcodec/ac3dec: fix downmix logic for eac3 avcodec/codec_desc: remove Intra Only prop for AAC avcodec/mediacodecdec: set set keyframe flag in output frames avcodec/libfdk-aacenc: set keyframe in output packets avcodec/libfdk-aacdec: set keyframe flag and profile in output frames avcodec/audiotoolboxnec: set set keyframe flag in output packets avcodec/audiotoolboxdec: set set keyframe flag in output frames avcodec/aacenc: set keyframe flag in output packets avcodec/aac/aacdec: set keyframe flag in output frames avcodec/aac_parser: set key_frame and profile avformat/mov: don't unconditionally set all audio packets in fragments as key frames avformat/matroskadec: set all frames in a keyframe simple box as keyframes avformat/test/movenc: set audio packets as key frames avformat/movenc: write stss boxes for xHE-AAC avformat/spdifdec: parse headers for audio codecs avformat/movenc: don't disable edit lists when writing CMAF output avcodec/libfdk-aacenc: export CPB properties avformat/movenc: don't write a calculated avgBitrate when the provided one is unset libavutil/riscv: Make use of elf_aux_info() on FreeBSD / OpenBSD riscv libavutil/ppc: defines involving bit shifts should be unsigned libavutil/ppc: Include the hardware feature flags like the other archs lavu/riscv: fix compilation without Vector support avfilter/f_loop: fix aloop activate logic avfilter/f_loop: fix length of aloop leftover buffer avfilter/vf_zscale: align the frame buffers lavfi/vf_zscale: fix call to av_pix_fmt_count_planes lavfi/vf_zscale: fix tmp buffer ptr alignment for zimg_filter_graph_process avfilter/framepool: align the frame buffers avcodec/h2645_sei: use the RefStruct API for film_grain_characteristics avcodec/aom_film_grain: allocate film grain metadata dynamically avformat/mov: use an array of pointers for heif_item avformat/mov: split off heif item initialization to its own function avformat/mov: factorize getting the current item lavc/h264idct: fix RISC-V group multiplier lavc/h264dsp: move RISC-V fn pointers to .data.rel.ro avcodec/jpegxl_parser: fix reading lz77-pair as initial entropy symbol avcodec/jpegxl_parser: check entropy_decoder_read_symbol return value avcodec/cbs_h266: Fix regression in DVB clip introduced by 93281630a71c06642adfebebb0d4b105a4e02e91 avcodec/x86/vvc: add prototypes for OF functions Document stream specifier syntax change from 46cbe4ab5c fftools/ffplay: fix crash when vk renderer is null avutil/wchar_filename: re-introduce explicit cast of void* to char* fate/ffmpeg: add samples dependency to fate-ffmpeg-spec-disposition fftools/ffmpeg_filter: treat apad filter as a source lavc/avcodec: fix global/private option precendence avfilter/framesync: fix forward EOF pts avcodec/vaapi_encode: fix compilation without CONFIG_VAAPI_1 libavcodec: x86: Remove an explicit include of config.asm checkasm: lls: Use relative tolerances rather than absolute ones arm: Consistently use proper interworking function returns avcodec/libx265: unbreak build for X265_BUILD >= 213 fftools: log unconnected filter output label fftools: do not access out of bounds filtergraph avcodec/mediacodecenc: Fix access of uninitialized value avformat/img2enc: Fix integer truncation when frame_pts is enabled avformat/internal: Add ff_get_frame_filename avformat/mov: don't return the latest stream when an item stream is expected @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.9 2025/01/09 10:29:19 jperkin Exp $ d56 5 @ 1.9 log @ffmpeg*: Clean up previous. I didn't notice the error as the test builds succeeded and there were no pkglint warnings. Files are now in sync and duplicate compiler.mk inclusions removed. The sunpro section can probably be removed, has been cargo-culted around for years and is better placed in the wrappers. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.8 2025/01/09 10:20:50 jperkin Exp $ d5 1 a5 1 DISTNAME= ffmpeg-7.1 @ 1.8 log @ffmpeg7: Missing compiler.mk. Spotted by wiz, thanks! @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.7 2025/01/09 10:16:04 jperkin Exp $ d37 3 a40 1 .include "../../mk/compiler.mk" a80 2 .include "../../mk/compiler.mk" @ 1.7 log @ffmpeg*: Limit -ld_classic workaround to clang-15. Fixes builds with older XCode that do not support that option. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.6 2024/10/21 12:16:51 nia Exp $ d38 1 @ 1.6 log @ffmpeg7: Revert accidental change @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.5 2024/10/21 11:26:39 nia Exp $ d38 1 d40 1 @ 1.5 log @ffmpeg7: Substitute on NetBSD before 10. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.4 2024/10/09 04:29:58 ryoon Exp $ a29 2 CONFIGURE_ARGS+= --disable-libv4l2 @ 1.4 log @multimedia/ffmpeg7: Update to 7.1 Changelog: version 7.1: - Raw Captions with Time (RCWT) closed caption demuxer - LC3/LC3plus decoding/encoding using external library liblc3 - ffmpeg CLI filtergraph chaining - LC3/LC3plus demuxer and muxer - pad_vaapi, drawbox_vaapi filters - vf_scale supports secondary ref input and framesync options - vf_scale2ref deprecated - qsv_params option added for QSV encoders - VVC decoder compatible with DVB test content - xHE-AAC decoder - removed DEC Alpha DSP and support code - VVC encoding support via libvvenc - perlin video source - D3D12VA HEVC encoder - Cropping metadata parsing and writing in Matroska and MP4/MOV de/muxers - Intel QSV-accelerated VVC decoding - MediaCodec AAC/AMR-NB/AMR-WB/MP3 decoding - YUV colorspace negotiation for codecs and filters, obsoleting the YUVJ pixel format - Vulkan H.264 encoder - Vulkan H.265 encoder - stream specifiers in fftools can now match by stream disposition - LCEVC enhancement data exporting in H.26x and MP4/ISOBMFF - LCEVC filter - MV-HEVC decoding @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.3 2024/08/03 06:53:10 adam Exp $ d7 1 a7 1 MASTER_SITES= http://www.ffmpeg.org/releases/ d13 1 d30 2 d106 4 @ 1.3 log @ffmpeg7 ffplay7: updated to 7.0.2 version 7.0.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 avformat/iamf_parse: Check for 0 samples swscale: [loongarch] Fix checkasm-sw_yuv2rgb failure. avcodec/aacps_tablegen_template: don't redefine CONFIG_HARDCODED_TABLES avutil/hwcontext_vaapi: use the correct type for VASurfaceAttribExternalBuffers.buffers avcodec/pcm-bluray/dvd: Use correct pointer types on BE avcodec/pngenc: fix sBIT writing for indexed-color PNGs avcodec/pngdec: use 8-bit sBIT cap for indexed PNGs per spec avformat/mov: check that child boxes of trak are only present inside it avformat/mov: check that sample and chunk count is 1 for HEIF avcodec/videotoolboxenc: Fix bitrate doesn't work as expected 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 avformat/mov: add an EOF check in IPRP 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/webpenc: Check filesize in trailer 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_premultiply: Use AV_PIX_MAX_PLANES avfilter/vf_deshake_opencl: Ensure that the first iteration initializes the best variables avformat/iamf_parse: Check for negative sample sizes 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 avformat/mov: Check extradata in mov_read_iacb() 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/leaddec: Check init_get_bits8() 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 avfilter/vf_tiltandshift: Free dst on error doc/examples/mux: remove nop avcodec/proresenc_kostya: use unsigned alpha for rotation avformat/rtpenc_rfc4175: Use 64bit in computation if copy_offset avformat/rtmpproto: Use AV_DICT_MATCH_CASE instead of litteral number 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 avcodec/vvc/refs: Use unsigned mask 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_amerge: Cleanup on av_channel_layout_copy() failure 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() avcodec/vvc/ctu: Remove dead ret check avcodec/vvc/dec: Remove constant eos_at_start 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/ffplay: Check vulkan_params fftools/ffmpeg_enc: Initialize Decoder 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 avcodec/vvc/dec: Check ff_init_cabac_decoder() 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 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/libx264: Check init_get_bits8() return code 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/vvc/mvs: Initialize mvf 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 avformat/iamf_writer: disallow Opus extradata with mapping family other than 0 avformat/iamf_parse: sanitize audio_roll_distance values avformat/iamf: byteswap values in OpusHeader avformat/iamf: rename Codec Config seek_preroll to audio_roll_distance avformat/iamf_writer: fix coded audio_roll_distance values avformat/iamf_writer: fix PCM endian-ness flag avformat/movenc: fix channel count and samplerate fields for IAMF tracks avformat/iamf_parse: keep substream count consistent avformat/iamf_parse: add missing padding to AAC extradata avformat/iamf_parse: 0 layers are not allowed avformat/iamf_parse: consider nb_substreams when accessing substreams array avformat/iamf_parse: Remove dead case avcodec/png: more informative error message for invalid sBIT size avcodec/pngdec: avoid erroring with sBIT on indexed-color images avfilter/vf_tiltandshift: fix buffer offset for yuv422p input avutil/timestamp: avoid possible FPE when 0 is passed to av_ts_make_time_string2() avformat/mov: add more checks for infe atom size avformat/mov: check for EOF inside the infe list parsing loop avformat/mov: check extent_offset calculation for overflow avformat/mov: check that iloc offset values fit on an int64_t avcodec/pngenc: fix mDCv typo avcodec/pngdec: fix mDCv typo avcodec/nvenc: fix segfault in intra-only mode avdevice/avfoundation: add external video devices aarch64: Add OpenBSD runtime detection of dotprod and i8mm using sysctl fftools/ffplay_renderer: use correct NULL value for Vulkan type qsv: Initialize impl_value avutil/hwcontext_qsv: fix GCC 14.1 warnings avcodec/mediacodecenc: workaround the alignment requirement for H.265 avcodec/mediacodecenc: workaround the alignment requirement only for H.264 lavc/lpc: fix off-by-one in R-V V compute_autocorr lavc/vp9: reset segmentation fields when segmentation isn't enabled configure: enable ffnvcodec, nvenc, nvdec for FreeBSD lavc/sbrdsp: fix potential overflow in noise table @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.2 2024/05/27 07:52:48 adam Exp $ d5 1 a5 1 DISTNAME= ffmpeg-7.0.2 @ 1.2 log @ffmpeg7 ffplay7: updated to 7.0.1 version 7.0.1: lavc/flacdsp: do not assume maximum R-V VL avformat/flacdec: Reorder allocations to avoid leak on error avcodec/adts_parser: Don't presume buffer to be padded avformat/movenc: Check av_malloc() avcodec/vp8: Return error on error avformat/mov: store sample_sizes as unsigned ints avformat/vvc: fix parsing sps_subpic_id avformat/vvc: initialize some ptl flags 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/vvc/dec: 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 avfilter/avfiltergraph: return value of ff_request_frame() is unused 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 avcodec/cbs_h266: read vps_ptl_max_tid before using it avcodec/cbs_h266: fix sh_collocated_from_l0_flag and sh_collocated_ref_idx infer avformat/vvc: fix parsing some early VPS bitstream values avformat/vvc: fix writing general_constraint_info bytes 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 vulkan_av1: Fix force_integer_mv value vaapi_av1: Fix force_integer_mv value av1dec: Add force_integer_mv derived field for decoder use avutil/iamf: fix offsets for mix_gain options avformat/iamfdec: check nb_streams in header read avformat/mov: free the infe allocated item data on failure avformat/iamf_writer: reject duplicated stream ids in a stream group avformat/mov: don't read key_size bytes twice in the keys atom avformat/mov: take into account the first eight bytes in the keys atom avformat/mov: fix the check for the heif item parsing loop avutil/iamf: fix mix_gain_class name av1dec: Fix RefFrameSignBias calculation avcodec/codec_par: always clear extradata_size in avcodec_parameters_to_context() avcodec/mediacodecenc: Fix return empty packet when bsf is used avcodec/hevcdec: Fix precedence, bogus film grain warning avcodec/hevcdec: fix segfault on invalid film grain metadata lavc/vvc: Skip enhancement layer NAL units avformat/mov: ignore old infe box versions vulkan_av1: add workaround for NVIDIA drivers tested on broken CTS lavc/vulkan_av1: Use av1dec reference order hint information lavc/av1: Record reference ordering information for each frame doc/encoders: add missing libxvid option doc/encoders: remove non-existent flag fate/ffmpeg: Avoid dependency on samples avcodec/wavpack: Remove always-false check avcodec/wavpack: Fix leak and segfault on reallocation error avcodec/lossless_videoencdsp: Don't presume alignment in diff_bytes avcodec/ppc/h264dsp: Fix left shifts of negative numbers @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.1 2024/04/07 17:50:23 ryoon Exp $ d5 1 a5 1 DISTNAME= ffmpeg-7.0.1 d43 1 a43 1 CONFIGURE_ARGS+= --target-os=${LOWER_OPSYS:Q} d58 1 a58 1 .if !empty(MACHINE_ARCH:Mpowerpc*) d63 1 a63 1 .if !empty(MACHINE_PLATFORM:MDarwin-1[2-9].*-*) || !empty(MACHINE_PLATFORM:MDarwin-2*) @ 1.1 log @multimedia/ffmpeg7: import ffmpeg7-7.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 7. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.7 2024/01/27 02:54:36 riastradh Exp $ d5 1 a5 1 DISTNAME= ffmpeg-7.0 @