head	1.19;
access;
symbols
	pkgsrc-2026Q2:1.18.0.2
	pkgsrc-2026Q2-base:1.18
	pkgsrc-2026Q1:1.17.0.4
	pkgsrc-2026Q1-base:1.17
	pkgsrc-2025Q4:1.17.0.2
	pkgsrc-2025Q4-base:1.17
	pkgsrc-2025Q3:1.15.0.4
	pkgsrc-2025Q3-base:1.15
	pkgsrc-2025Q2:1.15.0.2
	pkgsrc-2025Q2-base:1.15
	pkgsrc-2025Q1:1.13.0.6
	pkgsrc-2025Q1-base:1.13
	pkgsrc-2024Q4:1.13.0.4
	pkgsrc-2024Q4-base:1.13
	pkgsrc-2024Q3:1.13.0.2
	pkgsrc-2024Q3-base:1.13
	pkgsrc-2024Q2:1.12.0.4
	pkgsrc-2024Q2-base:1.12
	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.7.0.4
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.7.0.2
	pkgsrc-2023Q2-base:1.7
	pkgsrc-2023Q1:1.5.0.4
	pkgsrc-2023Q1-base:1.5
	pkgsrc-2022Q4:1.5.0.2
	pkgsrc-2022Q4-base:1.5
	pkgsrc-2022Q3:1.4.0.2
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.2.0.2
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.1.0.2
	pkgsrc-2022Q1-base:1.1;
locks; strict;
comment	@# @;


1.19
date	2026.06.23.13.02.52;	author adam;	state Exp;
branches;
next	1.18;
commitid	xBQt64hcJI5WiVKG;

1.18
date	2026.05.15.11.49.46;	author adam;	state Exp;
branches;
next	1.17;
commitid	yKQKzgHiRatA9UFG;

1.17
date	2025.12.04.16.23.08;	author adam;	state Exp;
branches;
next	1.16;
commitid	vjaPJvxYB4ReS6lG;

1.16
date	2025.09.22.14.25.04;	author adam;	state Exp;
branches;
next	1.15;
commitid	UVdNhghjXUD8zIbG;

1.15
date	2025.05.22.19.42.40;	author nia;	state Exp;
branches;
next	1.14;
commitid	EwPJjXlGEbmghWVF;

1.14
date	2025.04.17.14.21.38;	author nia;	state Exp;
branches;
next	1.13;
commitid	E6GlEkIr3iSKCpRF;

1.13
date	2024.09.17.07.34.31;	author adam;	state Exp;
branches;
next	1.12;
commitid	FbZSo8mAWmzHb8qF;

1.12
date	2024.01.27.02.54.36;	author riastradh;	state Exp;
branches;
next	1.11;
commitid	lurViWLuhiM6a2WE;

1.11
date	2024.01.27.02.22.03;	author riastradh;	state Exp;
branches;
next	1.10;
commitid	yfBax3t1S4GWY1WE;

1.10
date	2024.01.27.02.10.34;	author riastradh;	state Exp;
branches;
next	1.9;
commitid	nkvezv3Wzmh0V1WE;

1.9
date	2024.01.26.03.17.31;	author riastradh;	state Exp;
branches;
next	1.8;
commitid	AJXgTZTx336YjUVE;

1.8
date	2023.11.13.15.40.34;	author wiz;	state Exp;
branches;
next	1.7;
commitid	fzxxsvsZFwojOsME;

1.7
date	2023.06.06.12.42.00;	author riastradh;	state Exp;
branches;
next	1.6;
commitid	xhspr6Z8JLQOWSrE;

1.6
date	2023.04.09.06.55.44;	author wiz;	state Exp;
branches;
next	1.5;
commitid	DByM9lJS6wbKUokE;

1.5
date	2022.09.26.12.38.36;	author adam;	state Exp;
branches;
next	1.4;
commitid	cnhvGXkqEkeW4nVD;

1.4
date	2022.09.01.07.26.44;	author adam;	state Exp;
branches;
next	1.3;
commitid	nvcn7uI3206398SD;

1.3
date	2022.07.24.07.46.02;	author adam;	state Exp;
branches;
next	1.2;
commitid	MdPKqlAssdj0w7ND;

1.2
date	2022.04.05.09.24.29;	author adam;	state Exp;
branches;
next	1.1;
commitid	Eoft8HzJbTBZAZyD;

1.1
date	2022.01.31.23.16.41;	author ryoon;	state Exp;
branches;
next	;
commitid	MA6rNz4H9EZcgQqD;


desc
@@


1.19
log
@ffmpeg5 ffplay5: updated to 5.1.10

5.1.10:
configure: do not use interval regexp operators with awk
configure: fix symbol prefix detection
configure: Disable linker warnings for common symbols
avcodec/mpegvideo_dec: Add NULL pointer checks to MPV_motion_lowres()
avcodec/mpegvideo_dec: Fix lowres=3 field select interlaced mpeg4 frame
avcodec/mpegvideo_dec: consider interlaced lowres 4:2:0 chroma in edge emulation check better
avcodec/mlpdec: add max channels check
libswresample: Prevent out of bounds.
avcodec/dvdsub_parser: Fix length check for short packets
lavfi/bwdif: fix heap-buffer-overflow with small height videos
avcodec/h264_slice: guard color_frame() against chroma-width underflow
avformat/matroskadec: Check audio.sub_packet_h * audio.frame_size
avformat/flvdec: Check *size in cts parsing
avcodec/iff: Clear ham_buf
avcodec/h2645_parse: Ignore NAL with nuh_layer_id == 63
avcodec/eatgq: Check bytestream2_get_buffer() for failure
avcodec/cbs_sei: Always zero-initialize SEI payload
avformat/mpegts: Don't use uninitialized value in av_log()
avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation
avcodec/hevc/hevcdec: initialize qp_y_tab
aarch64/hpeldsp_neon: fix out-of-bounds read
swscale/alphablend: don't overread alpha plane on subsampled odd size
avcodec/jpeg2000dec: clear array length when freeing it
avformat/mov: ensure required number of bytes is read
avformat/av1dec: Check bits left before get_leb128()
avformat/nuv: return early if header id fails to read
avformat/dhav: Check amount read
avformat/hls: update current segment reference before use
avcodec/parser: Reset *buf_size on realloc failure
avfilter/af_stereotools: round-up max size of buffer
avformat/dashdec: Fail with any inner stream count being 0
swscale/x86/rgb_2_rgb: fix uyvytoyuv422 overwrite on odd width
avcodec/snowenc: fix SIGFPE in get_dc() when a block lies outside the plane
avcodec/snowenc: fix out-of-bounds OBMC read in get_dc() for narrow planes
avcodec/snowenc: fix out-of-bounds memcpy in get_block_rd() for narrow planes
avformat/icecast: reject CR/LF in metadata header values
avfilter/avf_showspectrum: Fix allocation check
avformat/sctp: add size check in sctp_read() matching sctp_write()
avcodec/cbs_av1_syntax_template: reset seen_frame_header on sequence headers
avfilter/convolution: compute user matrix products in unsigned
avformat/mpegts: use av_fast_realloc() for prg
avfilter/v360: compute remap table offsets in 64bit
avfilter/v360: reject out-of-range dimensions
swresample/x86/resample: write only int16 in the int16 resampler
avformat/rtpenc_amr: Check input size
swscale/ppc: fix ASAN stack-buffer-overflow in yuv2planeX
swscale/ppc: fix LOAD_FILTER overread in VSX path
avfilter: add ff_slice_pos() helper for slice boundaries
avfilter/estdif: avoid signed overflow in slice boundary calculation
avformat/rtspdec: bound Content-Length in the ANNOUNCE handler to SDP_MAX_SIZE
avcodec/rv10, rv34: check init_get_bits8() before RealVideo bit access
avformat/http: reject request-line tokens not terminated by whitespace
avcodec/agm: validate actual src_y against prev plane in decode_inter_plane
avcodec/hevc/ps: Check window parameters
avcodec/hevc/ps: Factor window reading out
avcodec/truespeech: reject iterations count whose * 240 product overflows 32-bit
avcodec/on2avc: reject subframe count whose * SUBFRAME_SIZE product overflows 32-bit
avfilter/zmq: initialize send_buf before shared cleanup on parse failure
avcodec/adpcm: fix signed integer overflow in get_nb_samples()
avformat/matroskadec: avoid signed overflow in DASH cue time differences
avcodec/fastaudio: reject subframes count whose * 256 product overflows 32-bit
avcodec/vc2enc_dwt: avoid signed overflow in the 9/7 DWT lifting
avcodec/mwsc: do not dereference a missing reference frame
tools/target_dem_fuzzer: do not exit on io_buffer allocation failure
avformat/gxfenc: Check timecode and propagate error
swscale/rgb2rgb_template: use unsigned for <<24
avformat/matroskadec: bound TRACKENTRY parsing by max_streams
avcodec/diracdec: fix heap buffer overflow in edge_emu_buffer
avformat/rtmppkt: Check recursion depth
avcodec/jpeglsdec: only apply color transform to decoded rows
avcodec/aac/aacdec: reject decoded frame without a valid sample rate
avformat/iff: check av_get_packet() result in ANIM branch
avfilter/vf_drawtext: avoid double-free of aliased FT_Glyph in glyph_enu_free
avcodec/cook: bound subpacket channel sum against channel count
avformat/mxfdec: Remove unneeded check
avformat/ftp: Check string used for RNTO
avformat/ftp: Check for Telnet IAC characters and other non printable ASCII chars
avformat/ftp: reject CR/LF in the URL path to prevent FTP command injection
avcodec/jpeg2000dec: Clear header derived variables
avformat/avc: Adjust get_ue_golomb() to handle 32 bit
avcodec/x86/vorbisdsp: change cmpleps to cmpltps in inverse coupling
avfilter/af_join: fix wrong loop bound in buffer dedup (use-after-free)
avcodec/magicyuv: reject slice_height misaligned with chroma vshift
avcodec/magicyuv: Expand the s->interlaced slice-height sanity check
avcodec/magicyuv: Fix 1 line MEDIAN slices
avformat/mxfdec: zero-init Sony MPEG-4 extradata and add padding
avformat/soxdec: Check sample_rate for nan
tests/tiny_ssim: fixed mistake in ssim_c1 calculation
avformat/hls: Check TIME-OFFSET value
avformat/hls: Check url_offset and size
avformat/ty: check rec_size
avformat/rtpenc_xiph: bail out when the max payload size underflows
avformat/rtpenc_aac: reject packets smaller than the ADTS header
avcodec/jpeg2000dec: compute mask in decode_clnpass() like in decode_sigpass()
avformat/vividas: fix misaligned access
avcodec/g2meet: The stack is EPIC_PIX_STACK_SIZE
avfilter/boxblur: Fix off by one errors
avcodec/diracdec: Enlarge `mctmp` to cover the worst-case `blheight·ybsep + yblen` rows, and break the MC loop when no output rows remain
tools/zmqsend: free the AVBprint buffer after using it
[Wave] Fix issues with unaligned metadata chunks.
avcodec/hevc: limit missing-ref fill to coded planes
@
text
@# $NetBSD: Makefile.common,v 1.18 2026/05/15 11:49:46 adam Exp $
# used by multimedia/ffmpeg5/Makefile
# used by multimedia/ffplay5/Makefile

DISTNAME=	ffmpeg-5.1.10
CATEGORIES=	multimedia
MASTER_SITES=	http://www.ffmpeg.org/releases/
EXTRACT_SUFX=	.tar.xz

LICENSE=	gnu-lgpl-v2.1 AND gnu-gpl-v2 ${ADDITIONAL_LICENSE}

PATCHDIR=	${.CURDIR}/../../multimedia/ffmpeg5/patches

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=5

CONFIGURE_ARGS+=	--enable-runtime-cpudetect
CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/ffmpeg5
CONFIGURE_ARGS+=	--docdir=${PREFIX}/share/doc/ffmpeg5
CONFIGURE_ARGS+=	--incdir=${PREFIX}/include/ffmpeg5
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/ffmpeg5
CONFIGURE_ARGS+=	--shlibdir=${PREFIX}/lib/ffmpeg5
LDFLAGS+=		${COMPILER_RPATH_FLAG}${PREFIX}/lib/ffmpeg5

.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

.include "../../mk/compiler.mk"

.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

.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.18
log
@ffmpeg5 ffplay5: updated to 5.1.9

5.1.9:
avcodec/av1dec: check that primary_ref_frame is within range
configure: bump CONFIG_THIS_YEAR to 2026
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
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
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
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
avcodec/svq1dec: Check input space for minimum
avcodec/vp9: Rollback dimensions when format is rejected
avformat/rtpdec_qdm2: Check block_size
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
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
avformat/mpegts: fix descriptor accounting across multiple IOD descriptors
avcodec/xxan: zero-initialize y_buffer
avcodec/exr: Check input space before reverse_lut()
avcodec/h264_slice: reject slice_num >= 0xFFFF
avutil/timecode: Check for integer overflow in av_timecode_init_from_components()
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
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
avformat/rtsp: Pass blacklist
avformat/rtsp: Explicitly check protocol
avfilter/vf_convolution: Use avpriv_mirror
avfilter/vf_convolution: Handle corner cases with small frames
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/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/cfhd: Check transform type before continuing
avcodec/cfhd: Add CFHDSegment enum and named identifiers
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/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
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
avcodec/mjpegdec: only test the size bound in sequential mjpeg
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/22398) swscale/x86/yuv2rgb_template: Add emms to MMX(EXT) functions
forgejo: backport CI job names
(fforge/pr/21341) avformat/img2dec: reject input images too big to fit into a single packet
avfilter/af_amerge: fix possible crash with custom layouts
(fforge/pr/21063) avformat/os_support: Include stdint.h for int64_t
all: apply linter fixes
tools/check_arm_indent: skip empty glob
forgejo: apply needed CI changes for 5.1
forgejo: backport CI to release/5.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.17 2025/12/04 16:23:08 adam Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1.9
@


1.17
log
@ffmpeg5 ffplay5: updated to 5.1.8

version 5.1.8:
 avutil/common: cast GET_BYTE/GET_16BIT returned value
 avfilter/vf_drawtext: Account for bbox text seperator
 avcodec/utvideodec: Set B for the width= 1 case in restore_median_planar_il()
 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
 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()
 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
 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.common,v 1.16 2025/09/22 14:25:04 adam Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1.8
@


1.16
log
@ffmpeg5 ffplay5: updated to 5.1.7

version 5.1.7:
 avcodec/exr: Check rle_raw_data and surroundings
 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: 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
 libavcodec/videotoolbox_vp9: Move av_malloc() to avoid memory leak
 avcodec/mpc8: init avctx->sample_rate
 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
 swscale/swscale_unscaled: use 8 line alignment for planarCopyWrapper with dithering
 Update for 5.1.7
 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/cri: Check bytestream2_get_buffer() for end
 avcodec/cri: Factor read_len out
 avformat/dashdec: Allocate space for appended "/"
 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
 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/mss2dsp: use FF_PTR_ADD to add offsets to a pointer
 avformat/movenc: fix writing reserved bits in EC3SpecificBox
 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
 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: 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
 configure: Clearer documentation for "disable-safe-bitstream-reader"
 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"
 avformat/hls: Fix twitter
 libavformat/hls: Be more restrictive on mpegts extensions
 avformat/hls: .ts is always ok even if its a mov/mp4
 avformat/hls: Print input format in error message
 avformat/hls: Be more picky on extensions
 avformat: add ff_match_url_ext()
 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/mxfdec: Check edit unit for overflow in mxf_set_current_edit_unit()
 avcodec/h263dec: Check against previous dimensions instead of coded
 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
 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/rmdec: check that buf if completely filled
 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
 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
 avformat/dxa: check bpc
 swscale/slice: clear allocated memory in alloc_lines()
 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/svq3: Check for minimum size input
 avcodec/eacmv: Check input size for intra frames
 avcodec/jfdctint_template: use unsigned z* in row_fdct()
 avformat/asf: Check picsize
 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/avcodec: Warn about data returned from get_buffer*()
 avformat/av1dec: Better fix for 70872/clusterfuzz-testcase-minimized-ffmpeg_dem_OBU_fuzzer-6005782487826432
 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/mvha: Clear remaining space after inflate()
 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/img2dec: Clear padding data after EOF
 avformat/wavdec: Check if there are 16 bytes before testing them
 avfilter/split: consume all frames before forwarding inlink status
 avfilter/split: fix EOF passing to inlink
 avfilter/avfiltergraph: fix regression in picking channel layout
 avformat/wavdec: increase requested probe score for codec probe
 doc/resampler.texi: add missing swr channel layout options
 swresample/swresample_frame: fix regression in detecting changes
 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/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
 avfilter/f_loop: fix aloop activate logic
 avfilter/f_loop: fix length of aloop leftover buffer
 avutil/wchar_filename: re-introduce explicit cast of void* to char*
 avcodec/libx265: unbreak build for X265_BUILD >= 213
 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
 configure: use just the pkg-config for sndio
 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.common,v 1.15 2025/05/22 19:42:40 nia Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1.7
@


1.15
log
@ffmpeg[3-7]: Fix building on n64 mips.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.14 2025/04/17 14:21:38 nia Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1.6
@


1.14
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.13 2024/09/17 07:34:31 adam Exp $
d49 1
a49 1
.if ${MACHINE_ARCH:Mmips64*}
@


1.13
log
@ffmpeg5 ffplay5: updated to 5.1.6

version 5.1.6:
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
swsresample/swresample: error out on invalid layouts
Update for 5.1.6
avdevice/dshow: Don't skip audio devices if no video device is present
avcodec/cfhdenc: Height of 16 is not supported
avcodec/cfhdenc: Allocate more space
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
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/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/pixlet: Simplify pfx computation
avcodec/motion_est: Fix score squaring overflow
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/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_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
avformat/rdt: Check pkt_len
avformat/mpeg: Check len in mpegps_probe()
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
avformat/mov: Check edit list for overflow
fftools/ffmpeg: Check read() for failure
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
avformat/mxfdec: Check container_ul->desc before use
MAINTAINERS: Update the entries for the release maintainer for FFmpeg
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.12 2024/01/27 02:54:36 riastradh Exp $
d48 5
@


1.12
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.common,v 1.11 2024/01/27 02:22:03 riastradh Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1.4
d41 1
a41 1
CONFIGURE_ARGS+=	--target-os=${LOWER_OPSYS:Q}
d56 1
a56 1
.if !empty(MACHINE_ARCH:Mpowerpc*)
d61 1
a61 1
.if !empty(MACHINE_PLATFORM:MDarwin-1[2-9].*-*) || !empty(MACHINE_PLATFORM:MDarwin-2*)
@


1.11
log
@multimedia/ffmpeg5: USE_CROSS_COMPILE is always defined here; nix :U.

No functional change intended.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.10 2024/01/27 02:10:34 riastradh Exp $
d46 11
a56 1
.  if !empty(MACHINE_ARCH:Mpowerpc*)
a58 1
.  endif
@


1.10
log
@multimedia/ffmpeg5: Handle machdep.altivec on NetBSD/powerpc too.

Bump revision because this built without the change on
NetBSD/powerpc, but didn't respect machdep.altivec at runtime.

Don't build with -maltivec -mabi=altivec on powerpc.  This doesn't
disable the use of altivec; it just prevents the compiler from trying
to use altivec instructions, like vector-zero and vector-store to
zero-initialize an object on the stack, outside the parts that are
gated on runtime CPU feature detection.

Fixes ffmpeg5 on powerpc CPUs without altivec.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.9 2024/01/26 03:17:31 riastradh Exp $
d37 1
a37 1
.if ${USE_CROSS_COMPILE:U:tl} == yes
@


1.9
log
@multimedia/ffmpeg5: Move cross-build stuff to Makefile.common.

ffplay5 cross-build needs this too.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.8 2023/11/13 15:40:34 wiz Exp $
d46 4
@


1.8
log
@ffmpeg5, ffplay5: update to 5.1.4

version 5.1.4:
 avcodec/4xm: Check for cfrm exhaustion
 avformat/mov: Disallow FTYP after streams
 doc/html: fix styling issue with Texinfo 7.0
 doc/html: support texinfo 7.0
 avfilter/buffersink: fix order of operation with = and <0
 tools/target_dec_fuzzer: Adjust threshold for CSCD
 avcodec/dovi_rpu: Use 64 bit in get_us/se_coeff()
 avformat/mov: Check that is_still_picture_avif has no trak based streams
 avformat/matroskadec: Fix declaration-after-statement warnings
 avformat/rtsp: Use rtsp_st->stream_index
 avcodec/jpeg2000dec: Check image offset
 avformat/mxfdec: Check klv offset
 libavutil/ppc/cpu.c: check that AT_HWCAP2 is defined
 avcodec/h2645_parse: Avoid EAGAIN
 avcodec/xvididct: Make c* unsigned to avoid undefined overflows
 avformat/tmv: Check video chunk size
 avcodec/h264_parser: saturate dts a bit
 avformat/asfdec_f: Saturate presentation time in marker
 avformat/xwma: sanity check bits_per_coded_sample
 avformat/matroskadec: Check prebuffered_ns for overflow
 avformat/wavdec: Check left avio_tell for overflow
 avformat/tta: Better totalframes check
 avformat/rpl: Check for number_of_chunks overflow
 avformat/mov: compute absolute dts difference without overflow in mov_find_next_sample()
 avformat/jacosubdec: Check timeres
 avformat/jacosubdec: avoid signed integer overflows in get_shift()
 avformat/jacosubdec: Factorize code in get_shift() a bit
 avformat/sbgdec: Check for negative duration or un-representable end pts
 avcodec/escape124: Do not return random numbers
 avcodec/apedec: Fix an integer overflow in predictor_update_filter()
 tools/target_dec_fuzzer: Adjust wmapro threshold
 avformat/avs: Check if return code is representable
 avcodec/lcldec: Make PNG filter addressing match the code afterwards
 avformat/westwood_vqa: Check chunk size
 avformat/sbgdec: Check for period overflow
 avformat/concatdec: Check in/outpoint for overflow
 avformat/mxfdec: Remove this_partition
 avcodec/xvididct: Fix integer overflow in idct_row()
 avcodec/celp_math: avoid overflow in shift
 tools/target_dec_fuzzer: Adjust threshold for rtv1
 avformat/hls: reduce default max reload to 3
 avformat/format: Stop reading data at EOF during probing
 avcodec/jpeg2000dec: jpeg2000 has its own lowres option
 avcodec/huffyuvdec: avoid undefined behavior with get_vlc2() failure
 avcodec/cscd: Fix "CamStudio Lossless Codec 1.0" gzip files
 avcodec/cscd: Check for CamStudio Lossless Codec 1.0 behavior in end check of LZO files
 avcodec/mpeg4videodec: consider lowres in dest_pcm[]
 avcodec/hevcdec: Fix undefined memcpy()
 avcodec/mpeg4videodec: more unsigned in amv computation
 avcodec/tta: fix signed overflow in decorrelate
 avcodec/apedec: Fix 48khz 24bit below insane level
 avcodec/apedec: Fix CRC for 24bps and bigendian
 avcodec/xvididct: Fix integer overflow in idct_row()
 avformat/avr: Check sample rate
 avformat/imf_cpl: Replace NULL content_title_utf8 by ""
 avformat/imf_cpl: xmlNodeListGetString() can return NULL
 avcodec/pcm: allow Changing parameters
 avcodec/jpeg2000dec: Check for reduction factor and image offset
 avutil/softfloat: Basic documentation for av_sincos_sf()
 avutil/softfloat: fix av_sincos_sf()
 tools/target_dec_fuzzer: Adjust threshold for speex
 avcodec/utils: fix 2 integer overflows in get_audio_frame_duration()
 avcodec/hevcdec: Avoid null pointer dereferences in MC
 avcodec/takdsp: Fix integer overflows
 avcodec: Ignoring errors is only possible before the input end
 avformat/jpegxl_probe: Forward error codes
 avformat/jpegxl_probe: check length instead of blindly reading
 avformat/jpegxl_probe: Remove intermediate macro obfuscation around get_bits*()
 avcodec/noise_bsf: Check for wrapped frames
 avformat/oggparsetheora: clip duration within 64bit
 avformat/wavdec: Check that smv block fits in available space
 avcodec/tiff: add a zero DNG_LINEARIZATION_TABLE check
 avcodec/tak: Check remaining bits in ff_tak_decode_frame_header()
 avcodec/sonic: Fix two undefined integer overflows
 avcodec/utils: the IFF_ILBM implementation assumes that there are a multiple of 16 allocated
 avcodec/exr: Cleanup befor return
 avcodec/pngdec: Do not pass AVFrame into global header decode
 avcodec/pngdec: remove AVFrame argument from decode_iccp_chunk()
 avcodec/vorbisdec: Check codebook float values to be finite
 avcodec/g2meet: Replace fake allocation avoidance for framebuf
 avutil/tx_priv: Use unsigned in BF() to avoid signed overflows
 avcodec/lcldec: More space for rgb24
 avcodec/lcldec: Support 4:1:1 and 4:2:2 with odd width
 libavcodec/lcldec: width and height should not be unsigned
 avformat/imf: fix invalid resource handling
 avcodec/escape124: Check that blocks are allocated before use
 avcodec/huffyuvdec: Fix undefined behavior with shift
 avcodec/j2kenc: Replace RGB24 special case by generic test
 avcodec/j2kenc: Replace BGR48 / GRAY16 test by test for number of bits
 avcodec/j2kenc: simplify pixel format setup
 avcodec/j2kenc: Fix funky bpno errors on decoding
 avcodec/j2kenc: remove misleading pred value
 avcodec/j2kenc: fix 5/3 DWT identifer
 avcodec/vp3: Check width to avoid assertion failure
 avcodec/g729postfilter: Limit shift in long term filter
 configure: update copyright year
 Changelog: Add forgotten line
 libavformat/riffec: Zero-initialize channels in ff_get_wav_header
 avcodec/x86/mathops: clip constants used with shift instructions within inline assembly
 avcodec/libsvtav1: use larger of bit rate and max rate for buffer size
 avcodec/libsvtav1: only set max_buf_sz if both bitrate and rc_buf_sz is set
 avcodec/libsvtav1: remove compressed_ten_bit_format and simplify alloc_buffer
 avcodec/libsvtav1: replace vbv_bufsize with maximum_buffer_size_ms
 avcodec/vdpau_mpeg4: fix order of quant matrix coefficients
 avcodec/vdpau_mpeg12: fix order of quant matrix coefficients
 avcodec/nvdec_mpeg4: fix order of quant matrix coefficients
 avcodec/nvdec_mpeg2: fix order of quant matrix coefficients
 fftools/ffmpeg: avoid possible invalid reads with short -tag values
 avcodec/mp_cmp: reject invalid comparison function values
 avcodec/aacpsy: clip global_quality within the psy_vbr_map array boundaries
 avutil/wchar_filename: propagate MultiByteToWideChar() and WideCharToMultiByte() failures
 avformat/concatf: check if any nodes were allocated
 avcodec/nvenc: fix b-frame DTS behavior with fractional framerates
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.7 2023/06/06 12:42:00 riastradh Exp $
d37 11
@


1.7
log
@Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.6 2023/04/09 06:55:44 wiz Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1.3
@


1.6
log
@ffmpeg5: update to 5.1.3.

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


1.5
log
@ffmpeg5 ffplay5: updated to 5.1.2

version 5.1.2:
- avcodec/dstdec: Check for overflow in build_filter()
- avformat/spdifdec: Use 64bit to compute bit rate
- avformat/rpl: Use 64bit for duration computation
- avformat/xwma: Use av_rescale() for duration computation
- avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation
- avformat/sbgdec: Check ts_int in genrate_intervals
- avformat/sbgdec: clamp end_ts
- avformat/rmdec: check tag_size
- avformat/nutdec: Check fields
- avformat/flvdec: Use 64bit for sum_flv_tag_size
- avformat/jacosubdec: Fix overflow in get_shift()
- avformat/genh: Check nb_channels for IMA ADPCM
- avformat/dxa: avoid bpc overflows
- avformat/dhav: Use 64bit seek_back
- avformat/cafdec: Check that nb_frasmes fits within 64bit
- avformat/asfdec_o: Limit packet offset
- avformat/apm: Use 64bit for bit_rate computation
- avformat/ape: Check frames size
- avformat/icodec: Check nb_pal
- avformat/aiffdec: Use 64bit for block_duration use
- avformat/aiffdec: Check block_duration
- avformat/mxfdec: only probe max run in
- avformat/mxfdec: Check run_in is within 65536
- avcodec/mjpegdec: Check for unsupported bayer case
- avcodec/apedec: Fix integer overflow in filter_3800()
- avcodec/tta: Check 24bit scaling for overflow
- avcodec/mobiclip: Check quantizer for overflow
- avcodec/exr: Check preview psize
- avcodec/tiff: Fix loop detection
- libavformat/hls: Free keys
- avcodec/fmvc: Move frame allocation to a later stage
- avfilter/vf_showinfo: remove backspaces
- avcodec/speedhq: Check width
- avcodec/bink: disallow odd positioned scaled blocks
- avformat/cafenc: derive Opus frame size from the relevant stream parameters
- avformat/dashdec: Fix crash on invalid input/ENOMEM, fix leak
- lavc/videotoolbox: do not pass AVCodecContext to decoder output callback
- lavc/pthread_frame: always transfer stashed hwaccel state
- avcodec/arm/sbcenc: avoid callee preserved vfp registers
- avformat/riffdec: don't unconditionally overwrite WAVEFORMATEXTENSIBLE layout
- avfilter/vf_scale: overwrite the width and height expressions with the original values
- lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads
- avutil/tests/.gitignore: Add channel_layout testtool
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.4 2022/09/01 07:26:44 adam Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1.2
@


1.4
log
@ffmpeg5 ffplay5: updated to 5.1.1

version 5.1.1:
- avformat/asfdec_o: limit recursion depth in asf_read_unknown()
- avformat/mov: Check count sums in build_open_gop_key_points()
- doc/git-howto.texi: Document commit signing
- libavcodec/8bps: Check that line lengths fit within the buffer
- avcodec/midivid: Perform lzss_uncompress() before ff_reget_buffer()
- libavformat/iff: Check for overflow in body_end calculation
- avformat/avidec: Prevent entity expansion attacks
- avcodec/h263dec: Sanity check against minimal I/P frame size
- avcodec/hevcdec: Check s->ref in the md5 path similar to hwaccel
- avcodec/mpegaudiodec_template: use unsigned shift in handle_crc()
- avformat/subviewerdec: Make read_ts() more flexible
- avcodec/mjpegdec: bayer and rct are incompatible
- MAINTAINERS: Add ED25519 key for signing my commits in the future
- avcodec/pngdec: Fix APNG_DISPOSE_OP_BACKGROUND
- avcodec/libvpx: fix assembling vp9 packets with alpha channel
- fftools/ffmpeg_opt: try to propagate the requested output channel layout
- avcodec/libsvtav1: properly initialize the flush EbBufferHeaderType struct
- configure: enable the av1_frame_split bsf for the av1 decoder
- swresample/swresample: fill the correct buffer to print the output layout string
- ffprobe: restore reporting error code for failed inputs
- ipfsgateway: Remove default gateway
- avcodec/libspeexdec: Fix use of uninitialized value
- avformat/avisynth: use ch_layout.nb_channels for channel count
- fate/lavf-image: Disable file checksums for exr tests
- tests/fate-run: Allow to skip file checksums for lavf_image
- fate/imf: Rename IMF fate-target
- avcodec/alac: don't fail if channels aren't set during init() when extradata is valid
- configure: properly require libx264 if enabled
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.3 2022/07/24 07:46:02 adam Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1.1
@


1.3
log
@ffmpeg5 ffplay5: updated to 5.1

version 5.1:
- add ipfs/ipns protocol support
- dialogue enhance audio filter
- dropped obsolete XvMC hwaccel
- pcm-bluray encoder
- DFPWM audio encoder/decoder and raw muxer/demuxer
- SITI filter
- Vizrt Binary Image encoder/decoder
- avsynctest source filter
- feedback video filter
- pixelize video filter
- colormap video filter
- colorchart video source filter
- multiply video filter
- PGS subtitle frame merge bitstream filter
- blurdetect filter
- tiltshelf audio filter
- QOI image format support
- ffprobe -o option
- virtualbass audio filter
- VDPAU AV1 hwaccel
- PHM image format support
- remap_opencl filter
- added chromakey_cuda filter
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.2 2022/04/05 09:24:29 adam Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.1
@


1.2
log
@ffmpeg5 ffplay5: updated to 5.0.1

version 5.0.1:
- avcodec/exr: Avoid signed overflow in displayWindow
- avcodec/diracdec: avoid signed integer overflow in global mv
- avcodec/takdsp: Fix integer overflow in decorrelate_sf()
- avcodec/apedec: fix a integer overflow in long_filter_high_3800()
- avdevice/dshow: fix regression
- avfilter/vf_subtitles: pass storage size to libass
- avcodec/vp9_superframe_split_bsf: Don't read inexistent data
- avcodec/vp9_superframe_split_bsf: Discard invalid zero-sized frames
- avcodec/vp9_superframe_bsf: Check for existence of data before reading it
- avcodec/vp9_raw_reorder_bsf: Check for existence of data before reading it
- avformat/imf: fix packet pts, dts and muxing
- avformat/imf: open resources only when first needed
- avformat/imf: cosmetics
- avformat/imf_cpl: do not use filesize when reading XML file
- avformat/imfdec: Use proper logcontext
- avformat/imfdec: do not use filesize when reading XML file
- doc/utils: add missing 22.2 layout entry
- avcodec/av1: only set the private context pix_fmt field if get_pixel_format() succeeds
- avformat/aqtitledec: Skip unrepresentable durations
- avformat/cafdec: Do not store empty keys in read_info_chunk()
- avformat/mxfdec: Do not clear array in mxf_read_strong_ref_array() before writing
- avformat/mxfdec: Check for avio_read() failure in mxf_read_strong_ref_array()
- avformat/mxfdec: Check count in mxf_read_strong_ref_array()
- avformat/hls: Check target_duration
- avcodec/pixlet: Avoid signed integer overflow in scaling in filterfn()
- avformat/matroskadec: Check pre_ns
- avcodec/sonic: Use unsigned for predictor_k to avoid undefined behavior
- avcodec/libuavs3d: Check ff_set_dimensions() for failure
- avcodec/speexdec: Align some comments
- avcodec/speexdec: Use correct doxygen comments
- avcodec/mjpegbdec: Set buf_size
- avformat/matroskadec: Use rounded down duration in get_cue_desc() check
- avcodec/argo: Check packet size
- avcodec/g729_parser: Check channels
- avformat/avidec: Check height
- avformat/rmdec: Better duplicate tags check
- avformat/mov: Disallow empty sidx
- avformat/argo_cvg:: Fix order of operations in error check in argo_cvg_write_trailer()
- avformat/argo_asf: Fix order of operations in error check in argo_asf_write_trailer()
- avcodec/movtextdec: add () to CMP() macro to avoid unexpected behavior
- avformat/matroskadec: Check duration
- avformat/mov: Corner case encryption error cleanup in mov_read_senc()
- avcodec/jpeglsdec: Fix if( code style
- avcodec/jpeglsdec: Check get_ur_golomb_jpegls() for error
- avcodec/motion_est: fix indention of ff_get_best_fcode()
- avcodec/motion_est: Fix xy indexing on range violation in ff_get_best_fcode()
- avformat/hls: Use unsigned for iv computation
- avcodec/jpeglsdec: Increase range for N in ls_get_code_runterm() by using unsigned
- avformat/matroskadec: Check desc_bytes
- avformat/utils: Fix invalid NULL pointer operation in ff_parse_key_value()
- avformat/matroskadec: Fix infinite loop with bz decompression
- avformat/utils: keep chapter monotonicity on chapter updates
- avformat/mov: Check size before subtraction
- avcodec/cfhd: Avoid signed integer overflow in coeff
- avcodec/libdav1d: free the Dav1dData packet on dav1d_send_data() failure
- avcodec/h264_parser: don't alter decoder private data
- configure: link to libatomic when it's present
- fate/ffmpeg: add missing samples dependency to fate-shortest
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.1 2022/01/31 23:16:41 ryoon Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.0.1
@


1.1
log
@multimedia/ffmpeg5: import ffmpeg5-5.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 5.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.26 2021/11/16 11:35:23 nia Exp $
d5 1
a5 1
DISTNAME=	ffmpeg-5.0
d27 1
d29 1
a29 1
CONFIGURE_ARGS+=	--progs-suffix=5
a45 2
CONFIGURE_ARGS+=	--enable-runtime-cpudetect

d76 1
a76 1
	mkdir ${WRKSRC}/tmp
@

