Up to [cvs.NetBSD.org] / pkgsrc / multimedia / ffmpeg4
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
ffmpeg4 ffplay4: updated to 4.4.8 4.4.8: avfilter: use ff_slice_pos() for per-slice boundary computation configure: Disable linker warnings for common symbols configure: do not use interval regexp operators with awk configure: fix symbol prefix detection avcodec/h264_parser: Check remaining input length in loop in scan_mmco_reset() avcodec/h264_slice: guard color_frame() against chroma-width underflow avformat/matroskadec: Check audio.sub_packet_h * audio.frame_size lavfi/bwdif: fix heap-buffer-overflow with small height videos avformat/flac_picture: Correct check swscale/alphablend: don't overread alpha plane on subsampled odd size avformat/vqf: Ensure that comm_chunk is fully read avcodec/h2645_parse: Ignore NAL with nuh_layer_id == 63 avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation avcodec/hevc/hevcdec: initialize qp_y_tab avformat/qcp: Check for read failure in header avcodec/eatgq: Check bytestream2_get_buffer() for failure avformat/av1dec: Check bits left before get_leb128() avcodec/alsdec: clear last_acf_mantissa avcodec/alsdec: Clear shift_value avformat/dhav: Check amount read avcodec/jpeg2000dec: jpeg2000 has its own lowres option avcodec/mlpdec: add max channels check avcodec/jpeg2000dec: clear array length when freeing it avformat/mov: ensure required number of bytes is read avformat/nuv: return early if header id fails to read avcodec/parser: Reset *buf_size on realloc failure avfilter/af_stereotools: round-up max size of buffer libswresample: Prevent out of bounds. avcodec/dvdsub_parser: Fix length check for short packets 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 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 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 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 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
ffmpeg4 ffplay4: updated to 4.4.7 4.4.7: avcodec/av1dec: check that primary_ref_frame is within range configure: bump CONFIG_THIS_YEAR to 2026 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 avfilter/vf_kerndeint: Check for minimum height avcodec/ralf: Add the missing return statement after the error log avcodec/zmbv: reject XOR data that overruns the decompression buffer avcodec/rasc: fix heap use-after-free in decode_move() avformat/rtpdec_mpeg4: reject zero-length AU header sections fftools/ffmpeg_opt: validate stream index in negative map handling avformat/rtmpproto: prevent integer overflow accumulating FLV buffer size avformat/rtmpproto: validate compressed SWF header length avformat/rtsp: Fix out-of-bounds read in SDP parser when control_url is empty avformat/rtpdec_latm: avoid integer overflow in LATM length parsing avcodec/h264: recompute per-slice direct mode state for every slice avcodec/h264_refs: Clear stale pointers from ref_list avcodec/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() 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/mov: Handle integer overflow in MOV parser avcodec/dvdsub_parser: Fix buf_size check 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 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 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/exr: check tile_attr.x/ySize 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/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: allow adjusting the redirect limit fftools/ffmpeg_opt: limit recursion of presets swscale/rgb2rgb_template: fix signed shift into sign bit 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 Fix overflow in STSD parser avcodec/adpcm: Check input buffer 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 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/22413) aarch64/hpeldsp_neon: fix out-of-bounds read (fforge/pr/22400) swscale/x86/yuv2rgb_template: Add emms to MMX(EXT) functions forgejo: backport CI job names (fforge/pr/21343) avformat/img2dec: reject input images too big to fit into a single packet avcodec/aarch64/idct: Add missing stddef tools/check_arm_indent: skip empty glob all: apply linter fixes forgejo: apply needed CI changes for 4.4 forgejo: backport CI to release/4.4 update for 4.4.7 avutil/common: cast GET_BYTE/GET_16BIT returned value 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 fftools/ffmpeg_mux_init: Fix double-free on error avformat/avidec: Fix integer overflow iff ULONG_MAX < INT64_MAX 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 avcodec/dxv: Check that we initialize op_data avcodec/exr: Check for pixel type consistency in DWA avcodec/g726: init missing sample rate avformat/lrcdec: limit input timestamp range to avoid overflows avcodec/scpr3: Clear clr avcodec/ilbcdec: Clear cbvec when used with create_augmented_vector() avcodec/jpeg2000dec: Make sure the 4 extra bytes allocated are initialized avfilter/avf_showcqt: fix unbounded index when copying to fft_data avcodec/aacsbr_template: Check ilb avcodec/utvideodec: Set B for the width= 1 case avcodec/ffv1: Clear state on alloc avcodec/jpeg2000dec: implement cdef remapping during pixel format matching avcodec/jpeg2000dec: move cdef default check into get_siz() avcodec/exr: Check rle_raw_data and surroundings avcodec/exr: Dont access outside xsize/ysize examples: Add check and replace av_free() to avoid potential memory errors libavcodec/tests/snowenc: Add av_free() to avoid memory leak avcodec/mpc8: init avctx->sample_rate avformat/hls: add cmfv/cmfa exceptions avformat/lrcdec: support arbitrary precision timestamp avcodec/ffv1dec: Disable frame threading due to race condition 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/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 avcodec/psd: Move frame allocation after RLE processing avcodec/smacker: Move buffer allocation to later avcodec/opus: don't materialize buf pointer from null avformat/iff: Check nb_channels == 0 in CHNL avcodec/mss2dsp: use FF_PTR_ADD to add offsets to a pointer avformat/hls: check return value of new_init_section() avcodec/rkmppdec: Fix double-free on error avcodec/ppc/vp8dsp_altivec: Fix out-of-bounds access avcodec/x86/pngdsp: add missing emms at the end of add_png_paeth_prediction
ffmpeg4 ffplay4: updated to 4.4.6 version 4.4.6: avcodec/takdec: Check remaining space for first predictors avcodec/svq3: Check there are bits left before decompression avcodec/sonic: Check num_taps 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 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 Update for 4.4.6 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 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_addroi: Add missing NULL termination to addroi_var_names[]() 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/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 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 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/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*() 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() 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/vf_xfade_opencl: Check ff_inlink_consume_frame() for failure avformat/lmlm4: Eliminate some AVERROR(EIO) 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 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 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 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 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 libavcodec/arm/mlpdsp_armv5te: fix label format to work with binutils 2.43
ffmpeg[3-7]: Fix building on n64 mips.
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
ffmpeg4 ffplay4: updated to 4.4.5 version 4.4.5: 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/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_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 avcodec/pnmdec: Use 64bit for input size check 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_bm3d: Dont round MSE2SSE to an integer avdevice/dshow: Check device_filter_unique_name before use 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/rtmppkt: Simplify and deobfuscate amf_tag_skip() slightly avformat/rmdec: use 64bit for audio_framesize checks avutil/hwcontext_d3d11va: correct sizeof IDirect3DSurface9 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 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 tools/coverity: Phase 1 study of anti-halicogenic for coverity av_rescale() avfilter/vf_avgblur: Check plane instead of AVFrame 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 configure: update copyright year avfilter/vf_rotate: Check ff_draw_init2() return value avformat/matroskadec: Assert that num_levels is non negative avformat/libzmq: Check av_strstart() avformat/img2dec: Move DQT after unrelated if() avdevice/xcbgrab: Check sscanf() return fftools/cmdutils: Add protective () to FLAGS avformat/sdp: Check before appending "," avcodec/ilbcdec: Remove dead code avcodec/vp8: Check cond init avcodec/vp8: Check mutex init avcodec/notchlc: Check init_get_bits8() for failure avcodec/tests/dct: Use 64bit in intermediate for error computation avcodec/scpr3: Check add_dec() for failure avcodec/rv34: assert that size is not 0 in rv34_gen_vlc_ext() avcodec/wavpackenc: Use unsigned for potential 31bit shift avcodec/tests/jpeg2000dwt: Use 64bit in comparission avcodec/tests/jpeg2000dwt: Use 64bit in err2 computation avformat/fwse: Remove always false expression avcodec/sga: Make it clear that the return is intentionally not checked avformat/asfdec_f: Use 64bit for preroll computation avformat/argo_asf: Use 64bit in offset intermediate avformat/ape: Use 64bit for final frame size avcodec/tiff: Assert init_get_bits8() success in unpack_gray() avcodec/tiff: Assert init_get_bits8() success in horizontal_fill() swscale/yuv2rgb: Use 64bit for brightness computation 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 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/vble: Check av_image_get_buffer_size() for failure avcodec/vp3: Replace check by assert avcodec/jpeg2000dec: remove ST=3 case avcodec/qsvdec: Check av_image_get_buffer_size() for failure avcodec/exr: Fix preview overflow avcodec/fmvc: remove dead assignment 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 doc/examples/demux_decode: Simplify loop avcodec/mpegvideo_enc: Fix 1 line and one column images swscale/output: Fix integer overflow in yuv2rgba64_full_1_c_template() swscale/output: Fix integer overflow in yuv2rgba64_1_c_template avformat/mxfdec: Check body_offset avformat/kvag: Check sample_rate avcodec/ac3_parser: Check init_get_bits8() for failure avcodec/pngdec: Check last AVFrame before deref avcodec/hevcdec: Check ref frame doc/examples/vaapi_transcode: Simplify loop 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 lavc/vp9: reset segmentation fields when segmentation isn't enabled configure: enable ffnvcodec, nvenc, nvdec for FreeBSD avcodec/x86/vp3dsp_init: Set correct function pointer, fix crash avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD avutil/ppc/cpu: Use proper header for OpenBSD PPC CPU detection lavd/v4l2: Use proper field type for second parameter of ioctl() with BSD's configure: use pkg-config for sndio fate/subtitles: Ignore line endings for sub-scc test avformat/mxfdec: Check index_edit_rate swscale/utils: Fix xInc overflow avcodec/exr: Dont use 64bits to hold 6bits avcodec/exr: Check for remaining bits in huf_unpack_enc_table() avformat/mpegts: Reset local nb_prg on add_program() failure avformat/mxfdec: Make edit_unit_byte_count unsigned avformat/movenc: Check that cts fits in 32bit avformat/mxfdec: Check first case of offset_temp computation for overflow avfilter/vf_signature: Dont crash on no frames avformat/westwood_vqa: Fix 2g packets avformat/matroskadec: Check timescale avformat/wavdec: satuarte next_tag_ofs, data_end avformat/sbgdec: Check for negative duration avformat/rpl: Use 64bit for total_audio_size and check it avformat/timecode: use 64bit for intermediate for rounding in fps_from_frame_rate() avformat/jacosubdec: Use 64bit for abs avformat/concatdec: Check user_duration sum avcodec/truemotion1: Height not being a multiple of 4 is unsupported avcodec/hcadec: do not set hfr_group_count to invalid values avformat/concatdec: clip outpoint - inpoint overflow in get_best_effort_duration() avformat/jacosubdec: clarify code avformat/cafdec: Check that data chunk end fits within 64bit avformat/iff: Saturate avio_tell() + 12 avformat/dxa: Adjust order of operations around block align avformat/cafdec: dont seek beyond 64bit avformat/id3v2: read_uslt() check for the amount read avcodec/proresenc_kostya: Remove bug similarity text avcodec/vorbisdec: Check remaining data in vorbis_residue_decode_internal() libswscale/utils: Fix bayer to yuvj swscale/swscale: Check srcSliceH for bayer swscale/utils: Allocate more dithererror avcodec/indeo3: Round dimensions up in allocate_frame_buffers() avutil/rational: Document what is to be expected from av_d2q() of doubles representing rational numbers avfilter/signature_lookup: Do not dereference NULL pointers after malloc failure avfilter/signature_lookup: dont leave uncleared pointers in sll_free() avcodec/mpegvideo_enc: Use ptrdiff_t for stride libavformat/hlsenc.c: Populate OTI using AAC profile in write_codec_attr. avcodec/mpegvideo_enc: Dont copy beyond the image avfilter/vf_minterpolate: Check pts before division avformat/flacdec: Avoid double AVERRORS avfilter/vf_vidstabdetect: Avoid double AVERRORS avfilter/vf_swaprect: round coordinates down avfilter/vf_swaprect: Use height for vertical variables avfilter/vf_swaprect: assert that rectangles are within memory avfilter/af_alimiter: Check nextpos before use avfilter/af_stereowiden: Check length avfilter/vf_weave: Fix odd height handling avfilter/vf_gradfun: Do not overread last line avformat/mov: do not set sign bit for chunk_offsets avcodec/jpeglsdec: Check Jpeg-LS LSE configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm avformat/mov: Check if a key is longer than the atom containing it avcodec/nvdec: reset bitstream_len/nb_slices when resetting bitstream pointer avformat/mov: don't abort on duplicate Mastering Display Metadata boxes avcodec/x86/mathops: clip constants used with shift instructions within inline assembly avcodec/av1dec: fix matrix coefficients exposed by codec context avcodec/nvdec: don't free NVDECContext->bitstream avcodec/av1dec: Fix resolving zero divisor avformat/mov: Ignore duplicate ftyp avformat/mov: Fix integer overflow in mov_read_packet(). seek: Fix crashes in ff_seek_frame_binary if built with latest Clang 14 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 doc/t2h.pm: fix missing TOC with texinfo 6.8 and above doc/t2h.pm: fix missing CSS with texinfo 6.8 and above 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 avcodec/escape124: Do not return random numbers avcodec/apedec: Fix an integer overflow in predictor_update_filter() 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 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/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/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 avcodec/jpeg2000dec: Check for reduction factor and image offset avutil/softfloat: Basic documentation for av_sincos_sf() avutil/softfloat: fix av_sincos_sf() 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 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 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 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 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 avcodec/libsvtav1: remove compressed_ten_bit_format and simplify alloc_buffer configure: account for openssl3 license change
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.
multimedia/ffmpeg4: sync cross-build and powerpc changes from ffmpeg5
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
ffmpeg4 ffplay4: updated to 4.4.4 version 4.4.4: - 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 - avcodec/vp3: Add missing check for av_malloc - avformat/nutdec: Add check for avformat_new_stream - 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/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: 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 - 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/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 - swscale/input: Use more unsigned intermediates - 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 - avcodec/speedhq: Check buf_size to be big enough for DC - avcodec/ffv1dec: Fail earlier if prior context is corrupted - avcodec/nvenc: fix b-frame DTS behavior with fractional framerates - avfilter/vf_untile: swap the chroma shift values used for plane offsets - 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 stride
ffmpeg4 ffplay4: updated to 4.4.3 version 4.4.3: - avformat/vividas: Check packet size - configure: link to libatomic when it's present - avcodec/dstdec: Check for overflow in build_filter() - avformat/spdifdec: Use 64bit to compute bit rate - avformat/rpl: Use 64bit for duration computation - avformat/xwma: Use av_rescale() for duration computation - avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation - avformat/sbgdec: Check ts_int in genrate_intervals - avformat/rmdec: check tag_size - avformat/nutdec: Check fields - avformat/flvdec: Use 64bit for sum_flv_tag_size - avformat/jacosubdec: Fix overflow in get_shift() - avformat/dxa: avoid bpc overflows - avformat/cafdec: Check that nb_frasmes fits within 64bit - avformat/asfdec_o: Limit packet offset - avformat/ape: Check frames size - avformat/icodec: Check nb_pal - avformat/aiffdec: Use 64bit for block_duration use - avformat/aiffdec: Check block_duration - avformat/mxfdec: only probe max run in - avformat/mxfdec: Check run_in is within 65536 - avcodec/mjpegdec: Check for unsupported bayer case - avcodec/apedec: Fix integer overflow in filter_3800() - avcodec/tta: Check 24bit scaling for overflow - avcodec/mobiclip: Check quantizer for overflow - avcodec/exr: Check preview psize - avcodec/tiff: Fix loop detection - libavformat/hls: Free keys - avcodec/fmvc: Move frame allocation to a later stage - avfilter/vf_showinfo: remove backspaces - avcodec/speedhq: Check width - avcodec/bink: disallow odd positioned scaled blocks - avformat/asfdec_o: limit recursion depth in asf_read_unknown() - doc/git-howto.texi: Document commit signing - libavcodec/8bps: Check that line lengths fit within the buffer - avcodec/midivid: Perform lzss_uncompress() before ff_reget_buffer() - libavformat/iff: Check for overflow in body_end calculation - avformat/avidec: Prevent entity expansion attacks - avcodec/h263dec: Sanity check against minimal I/P frame size - avcodec/hevcdec: Check s->ref in the md5 path similar to hwaccel - avcodec/mpegaudiodec_template: use unsigned shift in handle_crc() - avformat/subviewerdec: Make read_ts() more flexible - avcodec/mjpegdec: bayer and rct are incompatible - MAINTAINERS: Add ED25519 key for signing my commits in the future - avcodec/hevc_filter: copy_CTB() only within width&height - avcodec/tiff: Check tile_length and tile_width - avcodec/mss4: Check image size with av_image_check_size2() - avformat/flvdec: Check for EOF in index reading - avformat/nutdec: Check get_packetheader() in mainheader - avformat/asfdec_f: Use 64bit for packet start time - avcodec/exr: Check x/ysize - tools/target_dec_fuzzer: Adjust threshold for MMVIDEO - avcodec/lagarith: Check dst/src in zero run code - avcodec/h264dec: Skip late SEI - avcodec/sbrdsp_fixed: Fix integer overflows in sbr_qmf_deint_neg_c() - avfilter/vf_signature: Fix integer overflow in filter_frame() - avformat/rtsp: break on unknown protocols - avcodec/hevcdsp_template: stay within tables in sao_band_filter() - avcodec/tiff: Check pixel format types for dng - avcodec/qpeldsp: copy less for the mc0x cases - avformat/aaxdec: Check for empty segments - avcodec/ffv1dec: Limit golomb rice coded slices to width 8M - avformat/iff: simplify duration calculation - avcodec/wnv1: Check for width =1 - avcodec/ffv1dec_template: fix indention - avformat/sctp: close socket on errors - avcodec/aasc: Fix indention - avcodec/qdrw: adjust max colors to array size - avcodec/alacdsp: Make intermediates unsigned - avformat/aiffdec: cleanup size handling for extreem cases - avformat/matroskadec: avoid integer overflows in SAR computation - avcodec/jpeglsdec: fix end check for xfrm - avcodec/cdgraphics: limit scrolling to the line - avformat/hls: Limit start_seq_no to one bit less - avformat/aiffdec: avoid integer overflow in get_meta() - avformat/ape: more bits in size for less overflows - avformat/aviobuf: Check buf_size in ffio_ensure_seekback() - avformat/bfi: Check offsets better - avformat/asfdec_f: Check packet_frag_timestamp - avcodec/texturedspenc: Fix indexing in color distribution determination - avformat/act: Check ff_get_wav_header() for failure - avcodec/libxavs2: Improve r redundancy in occured - avformat/libzmq: Improve r redundancy in occured - avfilter/vsrc_mandelbrot: Check for malloc failure - avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirements - avfilter/video: Add ff_default_get_video_buffer2() to set specific alignment - avformat/genh: Check sample rate - configure: bump year - lavc/videotoolbox: do not pass AVCodecContext to decoder output callback - lavc/pthread_frame: always transfer stashed hwaccel state - avcodec/arm/sbcenc: avoid callee preserved vfp registers - avfilter/vf_scale: overwrite the width and height expressions with the original values - lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads - configure: extend SDL check to accept all 2.x versions - lavf/tls_mbedtls: add support for mbedtls version 3
ffmpeg: remove ancient NetBSD hacks that will bite us in the future
multimedia/ffmpeg4: solaris build fixes from Claes Nästén in PR 56633
ffmpeg4, ffplay4: update to 4.4.2 version 4.4.2: - fate: update reference files after the recent dash manifest muxer changes - avformat/webmdashenc: fix on-demand profile string - Update for FFmpeg 4.4.2 - 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() - avfilter/vf_subtitles: pass storage size to libass - 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/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_asf: Fix order of operations in error check in argo_asf_write_trailer() - 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/mov: Check size before subtraction - avcodec/cfhd: Avoid signed integer overflow in coeff - avcodec/apedec: Fix integer overflows in predictor_update_3930() - avcodec/apedec: fix integer overflow in 8bit samples - avformat/flvdec: timestamps cannot use the full int64 range - avcodec/tiff: Remove messing with jpeg context - avcodec/tiff: Use ff_set_dimensions() for setting up mjpeg context dimensions - avcodec/tiff: Pass max_pixels to mjpeg context - avcodec/vqavideo: reset accounting on error - avcodec/alacdsp: fix integer overflow in decorrelate_stereo() - avformat/4xm: Check for duplicate track ids - avformat/4xm: Consider max_streams on reallocating tracks array - avformat/mov: Check next offset in mov_read_dref() - avformat/vivo: Favor setting fps from explicit fractions - avformat/vivo: Do not use the general expression evaluator for parsing a floating point value - avformat/mxfdec: Check for duplicate mxf_read_index_entry_array() - avcodec/apedec: Change avg to uint32_t - avformat/mxfdec: Check component_depth in mxf_get_color_range() - avformat/mov: Disallow duplicate smdm - avformat/mov: Check for EOF in mov_read_glbl() - avcodec/vp3: Check version in all cases when VP4 code is not built - avformat/mov: Check channels for mov_parse_stsd_audio() - avformat/avidec: Check read_odml_index() for failure - avformat/aiffdec: Use av_rescale() for bitrate - avformat/aiffdec: sanity check block_align - avformat/aiffdec: Check sample_rate - avcodec/libdav1d: free the Dav1dData packet on dav1d_send_data() failure - avcodec/zmbvenc: Fix memleak upon init error - avcodec/dnxhdenc: Fix segfault when using too many slice threads - avcodec/wma(dec|enc): Fix memleaks upon allocation error - avfilter/avfilter: Actually error out on init error - avcodec/opus_silk: Remove wrong size information in function declaration - avformat/omadec: Don't output uninitialized values - avformat/jacosubenc: Fix writing extradata - avformat/cafenc: Fix memleak when trailer is never written - avformat/cafenc: Don't segfault upon allocation error - avformat/cafenc: Fix potential integer overflow - avformat/movenc: Limit ism_lookahead to a sane value - avutil/utils: Remove racy check from avutil_version() - avformat/sccdec: Don't use uninitialized data, fix crash, simplify logic - avformat/subtitles: Honour ff_subtitles_read_line() documentation - avformat/tee: Fix leak of FIFO-options dictionary - avformat/tee: Fix leak of strings - avcodec/rasc: Fix potential use of uninitialized value - avfilter/vf_w3fdif: Fix segfault on allocation error - avfilter/af_surround: Fix memleaks upon allocation error - avfilter/af_vibrato: Fix segfault upon allocation error - avfilter/aeval: Fix leak of expressions upon reallocation error - avdevice/xv: Increase array size - avfilter/asrc_flite: Fix use-after-frees - avfilter/asrc_flite: Don't segfault when using list_voices option - Revert "avfilter/vf_idet: reduce noisyness if the filter has been auto inserted" - avformat/matroskadec: Don't unnecessarily reduce aspect ratio - avcodec/h263: Fix global-buffer-overflow with noout flag2 set - avcodec/vaapi_encode: Fix segfault upon closing uninitialized encoder - avcodec/movtextenc: Fix infinite loop due to variable truncation - avcodec/libopenh264dec: Increase array sizes, fix stack-buffer overread - avcodec/libkvazaar: Increase array size - avformat/aadec: Don't use the same loop counter in inner and outer loop - avformat/moflex: Don't use uninitialized timebase for data stream - lavf/udp: do not return an uninitialized value from udp_open() - avcodec/nvenc: zero-initialize NV_ENC_REGISTER_RESOURCE struct - configure: Add missing libshine->mpegaudioheader dependency - avcodec/Makefile: Add missing entry for ADPCM_IMA_AMV_ENCODER - avcodec/Makefile: Only compile nvenc.o if needed - avcodec/av1_vaapi: improve decode quality - avcodec/av1_vaapi: enable segmentation features - avcodec/av1_vaapi: setting 2 output surface for film grain - avcodec/vaapi: increase av1 decode pool size - avcodec/dxva2_av1: fix global motion params - avcodec/av1_vaapi: add gm params valid check - avcodec/av1dec: support setup shear process - avcodec/av1: extend some definitions in spec section 3 - cbs_av1: fix incorrect data type - avcodec/libdav1d: let libdav1d choose optimal max frame delay - avcodec/libdav1d: pass auto threads value to libdav1d
ffmpeg4: add ffbuild/pkgconfig_generate.sh to REPLACE_SH PR pkg/56503 ffmpeg4 build failure on Solaris 10
ffmpeg4 ffplay4: updated to 4.4.1 version 4.4.1: - avcodec/flac_parser: Consider AV_INPUT_BUFFER_PADDING_SIZE - avcodec/ttadsp: Fix integer overflows in tta_filter_process_c() - avutil/mathematics: Document av_rescale_rnd() behavior on non int64 results - avcodec/utils: Ensure 8x8 alignment for ARGO in avcodec_align_dimensions2() - avformat/matroskadec: Reset state also on failure in matroska_reset_status() - avformat/wavdec: Check smv_block_size - avformat/rmdec: Check for multiple audio_stream_info - avcodec/apedec: Use 64bit to avoid overflow - avcodec/apedec: Fix undefined integer overflow in long_filter_ehigh_3830() - oavformat/avidec: Check offset in odml - avformat/mpegts: use actually read packet size in mpegts_resync special case - fftools/ffmpeg: Fix crash when flushing non-fully setup output stream - avfilter/scale_npp: fix non-aligned output frame dimensions - Revert "avformat/hlsenc: compute video_keyframe_size after write keyframe" - Changelog: update - swscale/alphablend: Fix slice handling - avcodec/apedec: Fix integer overflow in filter_fast_3320() - avformat/mov: Fix last mfra check - avcodec/mxpegdec: Check for AVDISCARD_ALL - avcodec/flicvideo: Check remaining bytes in FLI*COPY - avcodec/utils: ARGO writes 4x4 blocks without regard to the image dimensions - avcodec/cbs_h265_syntax_template: Limit sps_num_palette_predictor_initializer_minus1 to 127 - avcodec/snowdec: Maintain avmv buffer - avcodec/mpeg12dec: Do not put mpeg_f_code into an invalid state on error return - avcodec/mpegvideo_enc: Limit bitrate tolerance to the representable - avcodec/apedec: Fix integer overflow in intermediate - avformat/mvdec: Do not set invalid sample rate - avformat/sbgdec: Check for t0 overflow in expand_tseq() - avformat/rmdec: Use 64bit for intermediate for DEINT_ID_INT4 - avformat/sbgdec: Check opt_duration and start for overflow - avcodec/exr: Fix undefined integer multiplication - avformat/mov: Check for duplicate clli - avformat/utils: Ignore negative duration in codec_info_duration computation - avformat/jacosubdec: Check for min in t overflow in get_shift() - avformat/mxfdec: check channel number in mxf_get_d10_aes3_packet() - (origin/release/4.4) avcodec/wmadec: handle run_level_decode error - avcodec/wma: Return specific error code - avcodec/dxva2_av1: fix superres_denom parameter - avcodec/libdav1d: fix compilation after recent libdav1d API changes - Changelog: update - avcodec/utils: don't return negative values in av_get_audio_frame_duration() - avcodec/jpeg2000dec: Check that atom header is within bytsetream - avcodec/apedec: Fix 2 integer overflows in filter_3800() - avcodec/xpmdec: Move allocations down after more error checks - avcodec/argo: Move U, fix shift - avformat/mov: Check dts for overflow in mov_read_trun() - avformat/avidec: Use 64bit for frame number in odml index parsing - avcodec/mjpegbdec: Skip SOS on AVDISCARD_ALL as does mjpeg - avcodec/mjpegdec: Check for bits left in mjpeg_decode_scan_progressive_ac() - avformat/adtsenc: return value check for init_get_bits in adts_decode_extradata - avcodec/webp: Check available space in loop in decode_entropy_coded_image() - avcodec/h264dec: use picture parameters in ff_print_debug_info2() - avcodec/vc1dec: ff_print_debug_info() does not support WMV3 field_mode - avcodec/frame_thread_encoder: Free AVCodecContext structure on error during init - avcodec/faxcompr: Check for end of input in cmode == 1 in decode_group3_2d_line() - avcodec/vc1dec: Disable error concealment for *IMAGE - avcodec/sbrdsp_fixed: Fix negation overflow in sbr_neg_odd_64_c() - avcodec/argo: Check for even dimensions - avformat/wtvdec: Check for EOF before seeking back in parse_media_type() - avformat/mpc8: Check first keyframe position for overflow - avcodec/exr: Check ac_count - avformat/wavdec: Use 64bit in new_pos computation - avformat/sbgdec: Check for overflow in timestamp preparation - avformat/dsicin: Check packet size for overflow - avformat/dsfdec: Change order of operations in bitrate computation - avformat/bfi: check nframes - avformat/avidec: fix position overflow in avi_load_index() - avformat/asfdec_f: Check sizeX against padding - avformat/aiffdec: Check for size overflow in header parsing - avcodec/aaccoder: Add minimal bias in search_for_ms() - avformat/mov: Fix incorrect overflow detection in mov_read_sidx() - avformat/mov: Avoid undefined overflow in time_offset calculation - avfilter/af_drmeter: Check that there is data - avfilter/vf_fftdnoiz: Use lrintf() in export_row8() - avfilter/vf_mestimate: Check b_count - avformat/mov: do not ignore errors in mov_metadata_hmmt() - avformat/mxfdec: Check size for shrinking - avcodec/dnxhddec: check and propagate function return value - swscale/slice: Fix wrong return on error - avcodec/aacdec_template: Avoid some invalid values to be set by decode_audio_specific_config_gb() - swscale/slice: Check slice for allocation failure - avformat/matroskadec: Fix handling of huge default durations - avcodec/lpc: check for zero err in normalization in compute_lpc_coefs() - avcodec/j2kenc: Check for av_strtok() failure - avformat/ftp: Check for av_strtok() failure - tools/cws2fws: Check read() for failure - avcodec/cpia: Fix missing src_size update - avcodec/exr: Better size checks - avcodec/clearvideo: Check tile_size to be not too large - avcodec/utils: Use 64bit for intermediate in AV_CODEC_ID_ADPCM_THP* duration calculation - avformat/aaxdec: Check avio_seek() in header reading - avcodec/hevc_sei: Use get_bits_long() for time_offset_value - avformat/rmdec: Check old_format len for overflow - avformat/realtextdec: Check the pts difference before using it for the duration computation - avformat/qcp: Avoid negative nb_rates - avformat/pp_bnk: Use 64bit in bitrate computation - avformat/nutdec: Check tmp_size - avformat/msf: Check that channels doesnt overflow during extradata construction - avformat/subtitles: Check pts difference before use - avformat/mpc8: Check for position overflow in mpc8_handle_chunk() - avformat/mccdec: Fix overflows in num/den - avformat/iff: Use 64bit in duration computation - avformat/dxa: Check fps to be within the supported range more precissely - avcodec/iff: Only write palette to plane 1 if its PAL8 - avformat/tta: Check for EOF in index reading loop - avfilter/vf_scale: set the RGB matrix coefficients in case of RGB - avfilter/vf_scale: reset color matrix in case of identity & non-RGB - ffmpeg: fix order between field order autodetection and override - avcodec/h264_slice: clear old slice POC values on parsing failure - avfilter/f_metadata: do not return the frame early if there is no metadata - ffbuild: Avoid using the --preprocessor argument to windres - avcodec/crystalhd: signal that the decoder sets all output frame properties - avcodec/cuviddec: signal that the decoder sets all output frame properties - avcodec/decode: reindent after the previous commit - avcodec/decode: add an internal codec flag to signal a decoder sets all output frame properties - avcodec/decode: fetch packets from the pkt_props FIFO on every frame returned - Update missed irc links - avformat/rpl: The associative law doesnt hold for signed integers in C - avcodec/faxcompr: Check available bits in decode_uncompressed() - avcodec/faxcompr: Check if bits are available before reading in cmode == 9 || cmode == 10 - avformat/utils: Avoid overflow in codec_info_duration computation for subtitles - avformat/utils: check dts/duration to be representable before using them - avcodec/utils: do "calc from frame_bytes, channels, and block_align" in 64bit - avcodec/ttadata: Add sentinel at the end of ff_tta_shift_1 - avformat/mov: Check for duplicate mdcv - avfilter/vf_dctdnoiz: Check threads - avfilter/vf_ciescope: Fix undefined behavior in rgb_to_xy() with black - avcodec/dpx: fix off by 1 in bits_per_color check - avformat/rpl: Check for EOF and zero framesize - avcodec/vc2enc: Check for non negative slice bounds - avformat/rpl: Use 64bit in bitrate computation and check it - avcodec/mpegvideo_enc: Reset stuffing bits if they are not supported - avcodec/svq1enc: Do not print debug RD value before it has been computed - avcodec/aacpsy: Check bandwidth - avcodec/aacenc: Do not divide by lambda_count if it is 0 - avcodec/aacenc: Use FLT_EPSILON for lambda minimum - avfilter/vf_yadif: Fix handing of tiny images - avfilter/vf_vmafmotion: Check dimensions - avformat/movenc: Check pal_size before use - avcodec/lpc: Avoid floating point division by 0 - avcodec/aacpsy: Avoid floating point division by 0 of norm_fac - avcodec/aacenc: Avoid 0 lambda - avcodec/exr: More strictly check dc_count - avcodec/exr: x/ymax cannot be INT_MAX - avformat/avio: Check av_opt_copy() for failure - avformat/moflex: Remove unneeded format variable - avformat/fifo: check for flushed packets and timeshift - avcodec/clearvideo: Check for 0 tile_shift - avcodec/vc1: Check remaining bits in ff_vc1_parse_frame_header() - avformat/mov: Ignore duplicate CoLL - avformat/mov: Limit nb_chapter_tracks to input size - avformat/utils: Use 64bit earlier in r_frame_rate check - avcodec/alsdec: Fix decoding error with mono audio files - avformat/mvdec: Check sample rate in parse_audio_var() - avcodec/faxcompr: Check for end of bitstream in decode_group3_1d_line() and decode_group3_2d_line() - avcodec/utils: treat PAL8 for jpegs similar to other colorspaces - avcodec/jpeglsdec: Set alpha plane in PAL8 so image is not 100% transparent - avformat/asfdec_o: Use ff_get_extradata() - avformat/id3v2: Check end for overflow in id3v2_parse() - avformat/mxfdec: Fix file position addition - avformat/wtvdec: Improve size overflow checks in parse_chunks() - avcodec/faxcompr: Check remaining bits on error in decode_group3_1d_line() - avformat/mov: check for pts overflow in mov_read_sidx() - avcodec/utils: Check ima wav duration for overflow - avcodec/rv10: Execute whole size check earlier for rv20 - avformat/cafdec: Check channels - avcodec/exr: increase vlc depth - avcodec/dpx: Check bits_per_color earlier - avformat/mvi: Check audio_data_size to be non negative - avcodec/nvenc: disable s12m timestamps by default - aarch64: hevc_idct: Fix overflows in idct_dc - avcodec/vaapi_av1: pass full buffer size for each tile - avcodec/videotoolboxenc: #define TARGET_CPU_ARM64 to 0 if not provided by the SDK - lavc/pngdec: fix updating reference frames for APNG_DISPOSE_OP_BACKGROUND - ffmpeg: return no chosen output if an uninitialized stream is unavailable - avcodec/h263, h263data: Move ff_h263_init_rl_inter to h263.c - configure: Add missing mpegvideo dependency for IPU decoder - avcodec/ttmlenc: Don't confuse capabilities and caps_internal - avformat/mpegts: add missing sample_rate value to Opus extradata - avformat/movenc: fix writing dOps atoms - avcodec/av1_metadata: don't store the inserted TD OBU in stack - avcodec/nellymoserenc: Fix segfault when using unsupported channels/rate - avutil/cpu: Use HW_NCPUONLINE to detect # of online CPUs with OpenBSD - avcodec/nvenc: fix lossless tuning logic - avfilter/overlay_cuda: check av_buffer_ref result - avfilter/overlay_cuda: hold explicit reference to hw_device_ctx - avformat/matroskaenc: Fix leak when writing attachment without filename
ffmpeg4: Include atomic64.mk for m68k and powerpc. Bump revision. Fixes PR pkg/56119 from nia.
ffmpeg4: updated to 4.4 version 4.4: - AudioToolbox output device - MacCaption demuxer - PGX decoder - chromanr video filter - VDPAU accelerated HEVC 10/12bit decoding - ADPCM IMA Ubisoft APM encoder - Rayman 2 APM muxer - AV1 encoding support SVT-AV1 - Cineform HD encoder - ADPCM Argonaut Games encoder - Argonaut Games ASF muxer - AV1 Low overhead bitstream format demuxer - RPZA video encoder - ADPCM IMA MOFLEX decoder - MobiClip FastAudio decoder - MobiClip video decoder - MOFLEX demuxer - MODS demuxer - PhotoCD decoder - MCA demuxer - AV1 decoder (Hardware acceleration used only) - SVS demuxer - Argonaut Games BRP demuxer - DAT demuxer - aax demuxer - IPU decoder, parser and demuxer - Intel QSV-accelerated AV1 decoding - Argonaut Games Video decoder - libwavpack encoder removed - ACE demuxer - AVS3 demuxer - AVS3 video decoder via libuavs3d - Cintel RAW decoder - VDPAU accelerated VP9 10/12bit decoding - afreqshift and aphaseshift filters - High Voltage Software ADPCM encoder - LEGO Racers ALP (.tun & .pcm) muxer - AV1 VAAPI decoder - adenorm filter - ADPCM IMA AMV encoder - AMV muxer - NVDEC AV1 hwaccel - DXVA2/D3D11VA hardware accelerated AV1 decoding - speechnorm filter - SpeedHQ encoder - asupercut filter - asubcut filter - Microsoft Paint (MSP) version 2 decoder - Microsoft Paint (MSP) demuxer - AV1 monochrome encoding support via libaom >= 2.0.1 - asuperpass and asuperstop filter - shufflepixels filter - tmidequalizer filter - estdif filter - epx filter - Dolby E parser - shear filter - kirsch filter - colortemperature filter - colorcontrast filter - PFM encoder - colorcorrect filter - binka demuxer - XBM parser - xbm_pipe demuxer - colorize filter - CRI parser - aexciter audio filter - exposure video filter - monochrome video filter - setts bitstream filter - vif video filter - OpenEXR image encoder - Simbiosis IMX decoder - Simbiosis IMX demuxer - Digital Pictures SGA demuxer and decoders - TTML subtitle encoder and muxer - identity video filter - msad video filter - gophers protocol - RIST protocol via librist
ffmpeg4 ffplay4: updated to 4.3.2
version 4.3.2:
avcodec/hapdec: Change compressed_offset to unsigned 32bit
avformat/rmdec: Check codec_length without overflow
avformat/mov: Check element count in mov_metadata_hmmt()
avcodec/vp8: Move end check into MB loop in vp78_decode_mv_mb_modes()
avcodec/fits: Check gcount and pcount being non negative
avformat/nutdec: Check timebase count against main header length
avformat/electronicarts: Clear partial_packet on error
avformat/r3d: Check samples before computing duration
avcodec/pnm_parser: Check av_image_get_buffer_size() for failure
avformat/wavdec: Consider AV_INPUT_BUFFER_PADDING_SIZE in set_spdif()
avformat/rmdec: Check remaining space in debug av_log() loop
avformat/flvdec: Treat high ts byte as unsigned
avformat/samidec: Sanity check pts
avcodec/jpeg2000dec: Check atom_size in jp2_find_codestream()
avformat/avidec: Use 64bit in get_duration()
avformat/mov: Check for duplicate st3d
avformat/mvdec: Check for EOF in read_index()
avcodec/jpeglsdec: Fix k=16 in ls_get_code_regular()
avformat/id3v2: Check the return from avio_get_str()
avcodec/hevc_sei: Check payload size in decode_nal_sei_message()
libavutil/eval: Remove CONFIG_TRAPV special handling
avformat/wtvdec: Check len in parse_chunks() to avoid overflow
avformat/asfdec_f: Add an additional check for the extradata size
avformat/3dostr: Check sample_rate
avformat/4xm: Make audio_frame_count 64bit
avformat/mov: Use av_mul_q() to avoid integer overflows
avcodec/vp9dsp_template: Fix integer overflows in itxfm_wrapper
avformat/rmdec: Reorder operations to avoid overflow
avcodec/mxpegdec: fix SOF counting
avcodec/rscc: Check inflated_buf size whan it is used
avformat/mvdec: Sanity check SAMPLE_WIDTH
avcodec/nvenc: fix timestamp offset ticks logic
avformat/rmdec: Fix codecdata_length overflow check
avcodec/simple_idct: Fix undefined integer overflow in idct4row()
avformat/wavdec: Check block_align vs. channels before combining them
avformat/tta: Use 64bit intermediate for index
avformat/soxdec: Check channels to be positive
avformat/smacker: Check for too small pts_inc
avformat/sbgdec: Use av_sat_add64() in str_to_time()
avcodec/cscd: Check output len in zlib as in lzo
avcodec/vp3: Check input amount in theora_decode_header()
avformat/wavdec: Check avio_get_str16le() for failure
avformat/flvdec: Check for EOF in amf_skip_tag()
avformat/aiffdec: Check size before subtraction in get_aiff_header()
avformat/electronicarts: More chunk_size checks
avcodec/cfhd: check peak.offset
avformat/tedcaptionsdec: Check for overflow in parse_int()
avformat/nuv: Check channels
avcodec/siren: Increase noise category 5 and 6
avformat/mpc8: Check size before implicitly converting to int
avformat/nutdec: Fix integer overflow in count computation
avformat/mvi: Use 64bit for testing dimensions
avformat/utils: Check dts in update_initial_timestamps() more
avformat/mpsubdec: Use av_sat_add/sub64() in fracval handling
avformat/flvdec: Check for avio_read() failure in amf_get_string()
avformat/flvdec: Check for nesting depth in amf_skip_tag()
avformat/flvdec: Check for nesting depth in amf_parse_object()
avformat/asfdec_o: Check for EOF in asf_read_marker()
avformat/flvdec: Use av_sat_add64() for pts computation
avformat/utils: Check dts - (1<<pts_wrap_bits) overflow
avformat/bfi: Check chunk_header
avformat/ads: Check size
avformat/iff: Check block align also for ID_MAUD
avcodec/utils: Check for integer overflow in get_audio_frame_duration() for ADPCM_DTK
avformat/fitsdec: Better size checks
avformat/mxfdec: Fix integer overflow in next position in mxf_read_local_tags()
avformat/avidec: dv does not support palettes
avformat/dhav: Break out of infinite dhav search loop
libavformat/utils: consider avio_size() failure in ffio_limit()
avformat/nistspheredec: Check bits_per_coded_sample and channels
avformat/asfdec_o: Check size vs. offset in detect_unknown_subobject()
avformat/utils: check for integer overflow in av_get_frame_filename2()
avutil/timecode: Avoid undefined behavior with large framenum
avformat/mov: Check a.size before computing next_root_atom
avformat/sbgdec: Reduce the amount of floating point in str_to_time()
avformat/mxfdec: Free all types for both Descriptors
uavformat/rsd: check for EOF in extradata
avcodec/wmaprodec: Check packet size
avformat/dhav: Check position for overflow
avcodec/rasc: Check frame before clearing
avformat/vividas: Check number of audio channels
avcodec/alsdec: Fix integer overflow with quant_cof
avformat/mpegts: Fix argument type for av_log
avformat/cafdec: clip sample rate
avcodec/ffv1dec: Fix off by 1 error with quant tables
avformat/mpegts: Increase pcr_incr width to 64bit
avcodec/utils: Check bitrate for overflow in get_bit_rate()
avformat/mov: Check if hoov is at the end
avcodec/hevc_ps: check scaling_list_dc_coef
avformat/iff: Check data_size
avformat/matroskadec: Sanity check codec_id/track type
avformat/rpl: Check the number of streams
avformat/vividas: Check sample_rate
avformat/vividas: Make len signed
avcodec/h264idct_template: Fix integer overflow in ff_h264_chroma422_dc_dequant_idct()
avformat/dsfdec: Check block_align more completely
avformat/mpc8: Check remaining space in mpc8_parse_seektable()
avformat/id3v2: Sanity check tlen before alloc and uncompress
avformat/vqf: Check len for COMM chunks
avformat/mov: Avoid overflow in end computation in mov_read_custom()
avcodec/hevc_cabac: Limit value in coeff_abs_level_remaining_decode() tighter
avformat/cafdec: Check the return code from av_add_index_entry()
avformat/cafdec: Check for EOF in index read loop
avformat/cafdec: Check that bytes_per_packet and frames_per_packet are non negative
avformat/mpc8: correct integer overflow in mpc8_parse_seektable()
avformat/mpc8: correct 32bit timestamp truncation
avcodec/exr: Check ymin vs. h
avformat/avs: Use 64bit for the avio_tell() output
avformat/wavdec: More complete size check in find_guid()
avcodec/mv30: Use unsigned in idct_1d()
avformat/iff: Check size before skip
avformat/rmdec: Check for EOF in index packet reading
avcodec/vp3dsp: Use unsigned constant to avoid undefined integer overflow in ff_vp3dsp_set_bounding_values()
avformat/icodec: Check for zero streams and stream creation failure
avformat/icodec: Factor failure code out in read_header()
avformat/bintext: Check width
avformat/sbgdec: Check that end is not before start
avformat/lvfdec: Check stream_index before use
avformat/au: cleanup on EOF return in au_read_annotation()
avformat/mpegts: Limit copied data to space
avformat/bintext: Check width in idf_read_header()
avformat/iff: check size against INT64_MAX
avformat/vividas: improve extradata packing checks in track_header()
avformat/paf: Check for EOF in read_table()
avformat/gxf: Check pkt_len
avformat/aiffdec: Check packet size
avformat/concatdec: use av_strstart()
avformat/wavdec: Refuse to read chunks bigger than the filesize in w64_read_header()
avformat/rsd: Check size and start before computing duration
avformat/vividas: better check of current_sb_entry
avformat/iff: More completely check body_size
avformat/vividas use avpriv_set_pts_info()
avformat/xwma: Check for EOF in dpds_table read code
avcodec/utils: Check sample rate before use for AV_CODEC_ID_BINKAUDIO_DCT in get_audio_frame_duration()
avcodec/dirac_parser: do not offset AV_NOPTS_OFFSET
avformat/rmdec: Make expected_len 64bit
avformat/pcm: Check block_align
avformat/lrcdec: Clip timestamps
avutil/mathematics: Use av_sat_add64() for the last addition in av_add_stable()
avformat/electronicarts: Check for EOF in each iteration of the loop in ea_read_packet()
avformat/ifv: Check that total frames do not overflow
avcodec/vp9dsp_template: Fix some overflows in iadst8_1d()
avcodec/fits: Check bscale
avformat/nistspheredec: Check bps
avformat/jacosubdec: Use 64bit inside get_shift()
avformat/genh: Check block_align
avformat/mvi: Check count for overflow
avcodec/magicyuv: Check slice size before reading flags and pred
avformat/asfdec_f: Check for negative ext_len
avformat/bethsoftvid: Check image dimensions before use
avformat/genh: Check block_align for how it will be used in SDX2_DPCM
avformat/au: Check for EOF in au_read_annotation()
avformat/vividas: Check for zero v_size
avformat/segafilm: Do not assume AV_CODEC_ID_NONE is 0
avformat/segafilm: Check that there is a stream
avformat/wtvdec: Check dir_length
avformat/ffmetadec: finalize AVBPrint on errors
avcodec/decode/ff_get_buffer: Check for overflow in FFALIGN()
avcodec/exr: Check limits to avoid overflow in delta computation
avformat/boadec: Check that channels and block_align are set
avformat/asfdec_f: Check name_len for overflow
avcodec/h264idct_template: Fix integer overflow in ff_h264_chroma422_dc_dequant_idct()
avformat/sbgdec: Check for timestamp overflow in parse_time_sequence()
avcodec/aacdec_fixed: Limit index in vector_pow43()
avformat/kvag: Fix integer overflow in bitrate computation
avcodec/h264_slice: fix undefined integer overflow with POC in error concealment
avformat/rmdec: sanity check coded_framesize
avformat/flvdec: Check for EOF in amf_parse_object()
avcodec/mv30: Fix multiple integer overflows
avcodec/smacker: Check remaining bits in SMK_BLK_FULL
avcodec/cook: Check subpacket index against max
avcodec/utils: Check for overflow with ATRAC* in get_audio_frame_duration()
avcodec/hevcpred_template: Fix diagonal chroma availability in 4:2:2 edge case in intra_pred
avformat/icodec: Change order of operations to avoid NULL dereference
avcodec/exr: Fix overflow with many blocks
avcodec/vp9dsp_template: Fix integer overflows in idct16_1d()
avcodec/ansi: Check initial dimensions
avcodec/hevcdec: Check slice_cb_qp_offset / slice_cr_qp_offset
avcodec/sonic: Check for overread
avformat/subviewerdec: fail on AV_NOPTS_VALUE
avcodec/exr: Check line size for overflow
avcodec/exr: Check xdelta, ydelta
avcodec/celp_filters: Avoid invalid negation in ff_celp_lp_synthesis_filter()
avcodec/takdsp: Fix negative shift in decorrelate_sf()
avcodec/dxtory: Fix negative stride shift in dx2_decode_slice_420()
avformat/asfdec_f: Change order or operations slightly
avformat/dxa: Use av_rescale() for duration computation
avcodec/vc1_block: Fix integer overflow in ac value
avcodec/mv30: Fix several integer overflows in idct_1d()
avformat/iff: Check data_size not overflowing int64
avcodec/dxtory: Fix negative shift in dx2_decode_slice_410()
avcodec/sonic: Check channels before deallocating
avformat/vividas: Check for EOF in first loop in track_header()
avformat/wvdec: Check rate for overflow
avcodec/ansi: Check nb_args for overflow
avformat/wc3movie: Cleanup on wc3_read_header() failure
avformat/wc3movie: Move wc3_read_close() up
avcodec/tiff: Fix default white level
avcodec/diracdsp: Fix integer anomaly in dequant_subband_*
avutil/fixed_dsp: Fix integer overflows in butterflies_fixed_c()
avcodec/mv30: Check remaining mask in decode_inter()
avcodec/wmalosslessdec: Check remaining space before padding and channel residue
avformat/cdg: Fix integer overflow in duration computation
avcodec/mpc: Fix multiple numerical overflows in ff_mpc_dequantize_and_synth()
avcodec/agm: Fix off by 1 error in decode_inter_plane()
avformat/electronicarts: Check if there are any streams
avcodec/ffwavesynth: Fix integer overflow in wavesynth_synth_sample / WS_SINE
avcodec/vp9dsp_template: Fix integer overflow in iadst8_1d()
avformat/avidec: Fix io_fsize overflow
avcodec/cfhd: Check transform type
avcodec/tiff: Check jpeg context against jpeg frame parameters
avcodec/tiff: Restrict tag order based on specification
avcodec/tiff: Avoid abort with DNG RAW TIFF with YA8
avcodec/tiff: Check the linearization table size
avformat/siff: Reject audio packets without audio stream
avformat/mpeg: Check avio_read() return value in get_pts()
avcodec/tiff: Check bpp/bppcount for 0
avcodec/snowdec: Sanity check hcoeff
avformat/mov: Check comp_brand_size
avformat/ape: Error out in case of EOF in the header
avcodec/alac: Check decorr_shift to avoid invalid shift
avcodec/tdsc: Fix tile checks
opusdec: do not fail when LBRR frames are present
configure: update copyright year
avfilter/vf_framerate: fix infinite loop with 1-frame input
avformat/url: Change () position in ff_make_absolute_url()
avformat/mpegts: make sure mpegts_read_header always stops at the first pmt
avformat/alp: fix handling of TUN files
avformat/argo_asf: fix handling of v1.1 files
swscale/x86/yuv2rgb: fix crashes when loading alpha from unaligned buffers
lavf/url: fix relative url parsing when the query string or fragment has a colon
avformat/libsrt: fix cleanups on failed libsrt_open() and libsrt_setup()
avcodec/cuviddec: backport extradata fixes
avcodec/cuviddec: handle arbitrarily sized extradata
lavf/srt: fix build fail when used the libsrt 1.4.1
avformat/libsrt: close listen fd in listener mode
lavf/url: rewrite ff_make_absolute_url() using ff_url_decompose().
lavf/url: add ff_url_decompose().
avcodec/cbs_av1: fix setting FrameWidth in frame_size_with_refs()
avcodec/cbs_av1: use a more appropiate AV1ReferenceFrameState pointer variable name
avcodec/cbs_av1: fix handling reference frames on show_existing_frame frames
avcodec/cbs_av1: infer frame_type in show_existing_frame frames earlier
avcodec/cbs_av1: add OrderHint to CodedBitstreamAV1Context
avcodec/cbs_av1: infer frame_type when parsing a show_existing_frame frame
cbs_av1: Fix test for presence of buffer_removal_time element
avcodec/cbs_av1: fix storage size for render_{width,height}_minus_1
lavc: Lower MediaFoundation audio encoder priority.
x86/yuv2rgb: fix crashes when storing data on unaligned buffers
checkasm/vf_blend: use the correct depth parameters to initialize the blend modes
x86/vf_blend: fix warnings about trailing empty parameters
x86/h264_deblock: fix warning about trailing empty parameter
avutil/x86inc: fix warnings when assembling with Nasm 2.15
ffmpeg4,ffplay4: updated to 4.3.1 version 4.3.1: avcodec/tiff: Check input space in dng_decode_jpeg() avcodec/mjpeg_parser: Adjust size rejection threshold avcodec/cbs_jpeg: Fix uninitialized end index in cbs_jpeg_split_fragment() avformat/sdp: Fix potential write beyond end of buffer avformat/mm: Check for existence of audio stream avformat/mov: Fix unaligned read of uint32_t and endian-dependance in mov_read_default avcodec/apedec: Fix undefined integer overflow with 24bit avcodec/loco: Fix integer overflow with large values from loco_get_rice() avformat/smjpegdec: Check the existence of referred streams avcodec/tiff: Check frame parameters before blit for DNG avcodec/mjpegdec: Limit bayer to single plane outputting format avcodec/pnmdec: Fix misaligned reads avcodec/mv30: Fix integer overflows in idct2_1d() avcodec/hcadec: Check total_band_count against imdct_in size avcodec/scpr3: Fix out of array access with dectab avcodec/tiff: Do not overrun the array ends in dng_blit() avcodec/dstdec: Replace AC overread check by sample rate check dnn_backend_native: Add overflow check for length calculation. avcodec/h264_metadata_bsf: Fix invalid av_freep avcodec/cbs_h265: set default VUI parameters when vui_parameters_present_flag is false avcodec/av1_parser: initialize avctx->pix_fmt avcodec/av1_parser: add missing parsing for RGB pixel format signaling avcodec/av1_parser: set context values outside the OBU parsing loop avutil/avsscanf: Add () to avoid integer overflow in scanexp() avformat/utils: reorder duration computation to avoid overflow avcodec/pngdec: Check for fctl after idat avformat/hls: Pass a copy of the URL for probing avutil/common: Fix integer overflow in av_ceil_log2_c() avcodec/wmalosslessdec: fix overflow with pred in revert_cdlms avformat/mvdec: Fix integer overflow with billions of channels avformat/microdvddec: skip malformed lines without frame number. dnn_backend_native: check operand index dnn_backend_native.c: refine code for fail case avformat/mov: fix memleaks libavformat/mov: Fix memleaks when demuxing DV audio avcodec/cbs_av1: Fix writing uvlc numbers >= INT_MAX avformat/avc, mxfenc: Avoid allocation of H264 SPS structure, fix memleak avcodec/bitstream: Don't check for undefined behaviour after it happened avformat/aviobuf: Also return truncated buffer in avio_get_dyn_buf() avformat/aviobuf: Don't check for overflow after it happened
ffmpeg: updated to 4.3 version 4.3: - v360 filter - Intel QSV-accelerated MJPEG decoding - Intel QSV-accelerated VP9 decoding - Support for TrueHD in mp4 - Support AMD AMF encoder on Linux (via Vulkan) - IMM5 video decoder - ZeroMQ protocol - support Sipro ACELP.KELVIN decoding - streamhash muxer - sierpinski video source - scroll video filter - photosensitivity filter - anlms filter - arnndn filter - bilateral filter - maskedmin and maskedmax filters - VDPAU VP9 hwaccel - median filter - QSV-accelerated VP9 encoding - AV1 encoding support via librav1e - AV1 frame merge bitstream filter - AV1 Annex B demuxer - axcorrelate filter - mvdv decoder - mvha decoder - MPEG-H 3D Audio support in mp4 - thistogram filter - freezeframes filter - Argonaut Games ADPCM decoder - Argonaut Games ASF demuxer - xfade video filter - xfade_opencl filter - afirsrc audio filter source - pad_opencl filter - Simon & Schuster Interactive ADPCM decoder - Real War KVAG demuxer - CDToons video decoder - siren audio decoder - Rayman 2 ADPCM decoder - Rayman 2 APM demuxer - cas video filter - High Voltage Software ADPCM decoder - LEGO Racers ALP (.tun & .pcm) demuxer - AMQP 0-9-1 protocol (RabbitMQ) - Vulkan support - avgblur_vulkan, overlay_vulkan, scale_vulkan and chromaber_vulkan filters - ADPCM IMA MTF decoder - FWSE demuxer - DERF DPCM decoder - DERF demuxer - CRI HCA decoder - CRI HCA demuxer - overlay_cuda filter - switch from AvxSynth to AviSynth+ on Linux - mv30 decoder - Expanded styling support for 3GPP Timed Text Subtitles (movtext) - WebP parser - tmedian filter - maskedthreshold filter - Support for muxing pcm and pgs in m2ts - Cunning Developments ADPCM decoder - asubboost filter - Pro Pinball Series Soundbank demuxer - pcm_rechunk bitstream filter - scdet filter - NotchLC decoder - gradients source video filter - MediaFoundation encoder wrapper - untile filter - Simon & Schuster Interactive ADPCM encoder - PFM decoder - dblur video filter - Real War KVAG muxer
multimedia/ffmpeg4: fix USE_LANGUAGES multimedia/ffmpeg4 does not need -std=gnu99, only ffplay4 does. Since mk/compiler.mk is protected by a multiple-inclusion guard, any later assignment to USE_LANGUAGES has no effect except being confusing. The additional languages show up in "bmake show-var" but at the point of evaluation, they had not been set yet. This can be detected by several pkgsrc tools: pkglint says: WARN: ../../multimedia/ffmpeg4/Makefile.common:14: Modifying USE_LANGUAGES after including ../../mk/compiler.mk has no effect. Adding a manual check to mk/compiler.mk results in: bmake[1]: "mk/compiler.mk" line 273: warning: For multimedia/ffmpeg4, only languages "c" are used, the others in "c99" were defined too late. Making the variable USE_LANGUAGES read-only after including mk/compiler.mk results in: bmake[1]: "multimedia/ffmpeg4/Makefile.common" line 14: Read-only USE_LANGUAGES cannot be set (The latter two checks are not yet in the official pkgsrc tree.)
ffmpeg4/ffplay4: updated to 4.2.3
version 4.2.3
- avcodec/pnmdec: Use unsigned for maxval rescaling
- avcodec/ivi: Clear got_p_frame before decoding a new frame using it
- avcodec/dsddec: Check channels
- avcodec/xvididct: Fix integer overflow in idct_row()
- avcodec/wmalosslessdec: Fix integer overflows in revert_inter_ch_decorr()
- avcodec/cbs_jpeg: Fix infinite loop in cbs_jpeg_split_fragment()
- avformat/mpegenc: Fix integer overflow with AV_NOPTS_VALUE
- avformat/swfenc: Fix integer overflow in frame rate handling
- avformat/aadec: Check toc_size to contain the minimum to demuxer uses
- avcodec/cbs_h265_syntax_template: Limit num_long_term_pics more strictly
- ffplay: set stream_index to -1 earlier to prevent segfault
- avformat/mov: Free temp buffer upon negative sample_size error.
- avformat/matroskadec: Improve forward compability
- avformat/matroskadec: Don't discard valid packets
- avformat/matroskaenc: Don't segfault when seekability changes
- avformat/utils: Fix memleaks
- avformat/utils: Fix memleaks in avformat_open_input()
- avfilter/vf_dedot: Fix leak of AVFrame if making it writable fails
- avfilter/vf_paletteuse: Fix potential double-free of AVFrame
- avformat/mov: Don't leak MOVFragmentStreamInfo on error
- avformat/mov: Free encryption data on error
- fftools/ffmpeg: Free swresample dictionary during cleanup
- avcodec/mediacodec_wrapper: fix {input,output}_buffers global reference leak
- avformat/webm_chunk: Close IO if writing header fails
- avcodec/cavsdsp: Fix undefined left shifts of negative numbers
- avcodec/ra144enc: Fix invalid left shift of negative number
- avcodec/adxenc: Avoid undefined left shift of negative numbers
- avcodec/adpcm: Fix undefined left shifts of negative numbers
- avcodec/proresenc_anatoliy: Fix invalid left shift of negative number
- avformat/aviobuf: Honor avio_open[2] documentation
- avcodec/cinepakenc: Fix invalid shifts
- avfilter/vf_xbr: Fix left shift of negative number
- avfilter/vf_hqx: Fix undefined left shifts of negative numbers
- avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers
- avcodec/ituh263dec: Fix undefined left shift of negative number
- avcodec/dnxhdenc: Fix undefined left shifts of negative numbers
- swscale/utils: Fix invalid left shifts of negative numbers
- swscale/x86/swscale: Fix undefined left shifts of negative numbers
- fftools/ffmpeg_opt: Fix signed integer overflow
- avcodec/exr: Fix undefined left shifts of negative numbers
- avformat/movenc: Fix undefined shift
- avcodec/pcm: Fix undefined shifts
- avcodec/wavpackenc: Fix undefined shifts
- avutil/encryption_info: Don't pass NULL to memcpy
- avcodec/ac3enc: Fix memleak
- avcodec/ac3enc: Fix invalid shift
- avcodec/g723_1dec: Fix invalid shift
- avcodec/tdsc: Fix undefined shifts
- avcodec/ttaenc: Fix undefined shift
- avformat/avidec: Fix memleak with embedded GAB2 subtitles
- avformat/matroskadec: Don't discard the upper 32bits of TrackNumber
- dump_extradata: Insert extradata even for small packets
- avformat/segafilmenc: Fix undefined left shift of 1 by 31 places
- avformat/wtvdec: Fix memleak when reading header fails
- avformat/dashenc: Fix leak of AVFormatContext on error
- avformat/fitsdec: Fix potential leak of string in AVBPrint
- avformat/matroskadec: Sanitize SeekHead entries
- avformat/matroskaenc: Fix memleak upon encountering bogus chapter
- avformat/matroskaenc: Make ebml_num_size() more robust
- avformat/oggenc: Don't free AVStream's priv_data, fix memleak
- avformat/utils: Fix memleak when decoding subtitle in find_stream_info
- fftools/ffmpeg_opt: Check attachment filesize
- avformat/mpeg: Don't use unintialized value
- avformat/webmdashenc: Check codec types
- avformat/webmdashenc: Fix memleak upon realloc failure
- avformat/subtitles: Don't increment packet counter prematurely
- avformat/bethsoftvid: Fix potential memleak upon reallocation failure
- avformat/smoothstreaming: Fix memleaks on errors
- avformat/matroskaenc: Check BlockAdditional size before use
- avformat/matroskaenc: Check functions that can fail
- avformat/matroskaenc: Check for reformatting errors
- avformat/matroskadec: Check before allocations
- avfilter/vf_unsharp: Don't dereference NULL
- avcodec/zmbvenc: Correct offset in buffer
- avcodec/cbs_h2645: Fix potential out-of-bounds array access
- avformat/mov: Don't allow negative sample sizes.
- mpeg4videoenc: Don't crash with -fsanitize=bounds
- avformat/mpegts: Shuffle avio_seek
- avcodec/binkaudio: Fix 2Ghz sample_rate
- avcodec/adpcm: Fix integer overflow in ADPCM THP
- avcodec/ralf: Check num_blocks before use
- avcodec/iff: Test video_size being non zero
- avcodec/utvideodec: Fix integer overflow in decode_plane()
- avcodec/ttadsp: Fix several integer overflows in tta_filter_process_c()
- avcodec/ralf: Fix integer overflow in decode_block()
- avcodec/nuv: widen buf_size type
- avcodec/iff: Fix several integer overflows
- avcodec/g729postfilter: Clip gain before scaling with AGC_FAC1
- avcodec/alac: Fix integer overflow with 24/20bps samples
- avcodec/dstdec: Check sample rate
- avformat/thp: Require a video stream
- avformat/mpeg: Decrease score by 1 for files with very little valid data
- avcodec/pngdec: Check length in fdAT
- avcodec/g2meet: Check tile_width in epic_jb_decode_tile()
- avcodec/hapdec: Check tex_size more strictly and before using it
- avcodec/vp9dsp_template: Fix integer overflows in idct32_1d()
- avcodec/alacdsp: Fix invalid shift in append_extra_bits()
- libavcodec/wmalosslessdec: prevent sum of positive numbers from becoming negative
- avcodec/dstdec: Fix integer overflow in read_table()
- avcodec/txd: Check for input size against the header size.
- avcodec/svq1dec: Check that there is data left after the header
- avcodec/cbs_h265_syntax_template: Check num_negative/positive_pics when inter_ref_pic_set_prediction_flag is set
- avcodec/intrax8: Check for end of bitstream in ff_intrax8_decode_picture()
- avcodec/hevc_mp4toannexb_bsf: Check nalu_size
- avcodec/iff: Check length before memcpy() in decode_deep_rle32()
- avcodec/iff: Fix invalid pointer intermediates in decode_deep_rle32()
- avcodec/pngdec: Pass ret from decode_iccp_chunk()
- avcodec/rv40dsp: Fix integer overflows in rv40_weight_func_*()
- avcodec/ac3dec_fixed: Fix several invalid left shifts in scale_coefs()
- avcodec/flac_parser: Do not lose header count in find_headers_search()
- avcodec/audiodsp: Fix integer overflow in scalarproduct_int16_c()
- avcodec/cbs_jpeg_syntax_template: Check array index in huffman_table()
- avcodec/cbs_jpeg_syntax_template: Check table index before use in dht()
- avformat/oggdec: Check for EOF after page header
- swscale/yuv2rgb: Fix vertical dither offset with slices
- avcodec/dpcm: clip exponent into supported range in XAN DPCM
- avcodec/flacdsp_template: Fix invalid shifts in decorrelate
- avcodec/xvididct: Fix integer overflow in MULT()
- avcodec/ffwavesynth: Correct undefined overflow of PINK_UNIT
- avcodec/cbs_h264_syntax_template: fix off by 1 error with slice_group_change_cycle
- swscale/output: Fix integer overflow in yuv2rgb_write_full() with out of range input
- swscale/output: Fix integer overflow in alpha computation in yuv2gbrp16_full_X_c()
- libavformat/amr.c: Check return value from avio_read()
- libavformat/mov.c: Free aes_decrypt to avoid leaking memory
- libavformat/oggdec.c: Check return value from avio_read()
- avformat/asfdec_f: Fix overflow check in get_tag()
- avformat/nsvdec: Fix memleaks on errors while reading the header
- avcodec/ffwavesynth: Fix integer overflow in computation of ddphi
- avcodec/cbs_jpeg: Check length for SOS
- avcodec/adpcm: Fix invalid shift in AV_CODEC_ID_ADPCM_PSX
- avcodec/mpeg12dec: Fix invalid shift in mpeg2_fast_decode_block_intra()
- avcodec/cbs_h2645: Treat slices without data as invalid
- avcodec/cbs_h2645: Remove dead code to delete trailing zeroes
- avcodec/cbs_av1_syntax_template: Set seen_frame_header only after successfull uncompressed_header()
- avcodec/mpegaudioenc_template: fix invalid shift of sample
- avcodec/motion_est_template: Fix invalid shifts in no_sub_motion_search()
- libavformat/avienc: Check bits per sample for PAL8
- avformat/mpegts: Improve the position determination for avpriv_mpegts_parse_packet()
- avcodec/magicyuv: Check that there are enough lines for interlacing to be possible
- avformat/mvdec: Check stream numbers
- avcodec/pcm: Fix invalid shift in AV_CODEC_ID_PCM_LXF
- avcodec/qdm2: Check fft_coefs_index
- avformat/utils: Fix integer overflow with complex time bases in avformat_find_stream_info()
- avformat/avidec: Avoid integer overflow in NI switch check
- fftools/ffmpeg: Fix integer overflow in duration computation in seek_to_start()
- avfilter/vf_aspect: Fix integer overflow in compute_dar()
- avcodec/apedec: Fix invalid shift with 24 bps
- avformat/utils: Fix undefined behavior in ff_configure_buffers_for_index()
- avcodec/dpcm: Fix integer overflow in AV_CODEC_ID_GREMLIN_DPCM
- avcodec/wmalosslessdec: Fix integer overflow with sliding in padding bits
- avcodec/wmalosslessdec: Fix loop in revert_acfilter()
- avcodec/agm: YUV420 without DCT needs even dimensions
- avcodec/agm: Test remaining data in decode_raw_intra_rgb()
- avcodec/lagarith: Sanity check scale
- avcodec/apedec: Fix integer overflows in predictor_decode_mono_3950()
- avcodec/ralf: Fix integer overflow in apply_lpc()
- avcodec/dca_lbr: Fix some error codes and error passing
- avcodec/wmavoice: Fix rounding and integer anomalies in calc_input_response()
- avcodec/wmavoice: sanity check block_align
- avcodec/pcm: Fix invalid shift in pcm_decode_frame for LXF
- avcodec/snappy: Sanity check bytestream2_get_levarint()
- avcodec/mlpdsp: Fix a invalid shift in ff_mlp_rematrix_channel()
- avcodec/avdct: Clear IDCTDSPContext context
- avcodec/x86/diracdsp: Fix high bits on Windows x86_64
- tests/fate/lavf-video.mak: fix fate-lavf-gif dependencies
- avformat/mov: Check STCO location
- avcodec/wmalosslessdec: Fix multiple integer overflows
- avcodec/apedec: Fix undefined integer overflow in decode_array_0000()
- avcodec/smacker: Check space before decoding type
- avcodec/rawdec: Use linesize in b64a
- avcodec/iff: Over-allocate ham_palbuf for HAM6 IFF-PBM
- avcodec/x86/diracdsp: Fix incorrect src addressing in dequant_subband_32()
- avfilter/vf_find_rect: Remove assert
- avfilter/vf_find_rect: Increase worst case score
- swscale/input: Fix several invalid shifts related to rgb2yuv constants
- swscale/output: Fix several invalid shifts in yuv2rgb_full_1_c_template()
- swscale/swscale: Fix several invalid shifts related to vChrDrop
- avcodec/hevc_mp4toannexb_bsf: check that nalu size doesnt overflow
- avcodec/hevc_mp4toannexb_bsf: Avoid NULL memcpy()
- avcodec/cbs_av1: Check leb128 values read
- avcodec/wmalosslessdec: move channel check up
- avcodec/cbs_h2645: Skip all 0 NAL units
- avcodec/adpcm: Fix overflow in FFABS() IMA_EA_EACS
- avcodec/alac: Fix integer overflow in LPC coefficient adaption
- avcodec/g729postfilter: Optimize out overflowing multiplication from apply_tilt_comp()
- avcodec/vc1dec: Check field_mode for sprites
- avcodec/vc1dec: Limit bits by the actual bitstream size
- avcodec/vmdaudio: Check block_align more
- configure: bump year
- avcodec/pgssubdec: Free subtitle on error
- avcodec/nvenc: use framerate if available
- avcodec/cbs_h265: fix writing extension_data bits
- avcodec/nvenc: offset dts to account for b-frame reordering
- Revert "avformat/rtp: Pass sources and block filter addresses via sdp file for rtp"
- avformat/matroskadec: Fix default value of BlockAddID
- avformat/dashdec: Don't allocate and leak strings that are never used
- avformat/matroskaenc: Write level 1 elements in one go
- avformat/rtp: Pass sources and block filter addresses via sdp file for rtp
- avformat/bintext: avoid division by zero
ffmpeg4: updated to 4.2.2 version 4.2.2 - cbs_mpeg2: Fix parsing the last unit - cbs_mpeg2: Rearrange start code search - cbs_mpeg2: Decompose Sequence End - cbs_mpeg2: Fix parsing of picture and slice headers - cbs: Remove useless initializations - mpeg2_metadata, cbs_mpeg2: Fix handling of colour_description - lavc/cbs_h2645_syntax_template: Fix memleak - avcodec/cbs: Fix potential overflow - avcodec/cbs: Factor out common code for writing units - avcodec/ffwavesynth: Fix undefined overflow in wavesynth_synth_sample() - avcodec/ffwavesynth: Fix undefined overflow in wavesynth_synth_sample() - avcodec/cook: Use 3 stage VLC decoding for channel_coupling - avcodec/wmalosslessdec: Fixes undefined overflow in dequantization in decode_subframe() - avcodec/sonic: Check e in get_symbol() - avcodec/twinvqdec: Correct overflow in block align check - avcodec/vc1dec: Fix "return -1" cases - avcodec/vc1dec: Free sprite_output_frame on error - avcodec/atrac9dec: Clamp band_ext_data to max that can be read if skipped. - avcodec/agm: Include block size in the MV check for flags == 3 - avcodec/wmadec: Keep track of exponent initialization per channel - avcodec/iff: Check that video_size is large enough for the read parameters - avcodec/cbs_vp9: Check data_size - avcodec/cbs_vp9: Check index_size - avcodec/adpcm: Clip predictor for APC - avcodec/targa: Check colors vs. available space - avcodec/dstdec: Use get_ur_golomb_jpegls() - avcodec/wmavoice: Check remaining input in parse_packet_header() - avcodec/wmalosslessdec: Fix 2 overflows in mclms - avcodec/wmaprodec: Fixes integer overflow with 32bit samples - avcodec/adpcm: Fix invalid shift in xa_decode() - avcodec/wmalosslessdec: Fix several integer issues - avcodec/wmalosslessdec: Check that padding bits is not more than sample bits - avcodec/iff: Skip overflowing runs in decode_delta_d() - avcodec/pnm: Check that the header is not truncated - avcodec/mp3_header_decompress_bsf: Check sample_rate_index - avcodec/cbs_av1_syntax_template: Check num_y_points - avformat/rmdec: Initialize and sanity check offset in ivr_read_header() - avcodec/agm: Do not allow MVs out of the picture area as no edge is allocated - avcodec/apedec: Fix 2 integer overflows - avformat/id3v2: Fix double-free on error - avcodec/wmaprodec: Set packet_loss when we error out on a sanity check - avcodec/wmaprodec: Check offset - avcodec/truemotion2: Fix 2 integer overflows in tm2_low_res_block() - avcodec/wmaprodec: Check if the channel sum of all internal contexts match the external - avcodec/atrac9dec: Check q_unit_cnt more completely before using it to access at9_tab_band_ext_group - avcodec/fitsdec: Use lrint() - avcodec/g729dec: Avoid using buf_size - avcodec/g729dec: Factor block_size out - avcodec/g729dec: require buf_size to be non 0 - avcodec/alac: Fix integer overflow in lpc_prediction() with sign - avcodec/wmaprodec: Fix buflen computation in save_bits() - avcodec/vc1_block: Fix integer overflow in AC rescaling in vc1_decode_i_block_adv() - avcodec/vmdaudio: Check chunk counts to avoid integer overflow - avformat/mxfdec: Clear metadata_sets_count in mxf_read_close() - avcodec/nuv: Use ff_set_dimensions() - avformat/vividas: Error out on audio packets in the absence of audio streams - avformat/vividas: Check and require 1 video stream - avcodec/ffwavesynth: Fix integer overflow with pink_ts_cur/next - avcodec/ralf: Fix integer overflows with the filter coefficient in decode_channel() - avcodec/g729dec: Use 64bit and clip in scalar product - avcodec/mxpegdec: Check for multiple SOF - avcodec/nuv: Move comptype check up - avcodec/wmavoice: Fix integer overflow in synth_frame() - avcodec/rawdec: Check bits_per_coded_sample more pedantically for 16bit cases - avutil/lfg: Correct index increment type to avoid undefined behavior - avcodec/cngdec: Remove AV_CODEC_CAP_DELAY - avcodec/iff: Move index use after check in decodeplane8() - avcodec/atrac3: Check for huge block aligns - avcodec/ralf: use multiply instead of shift to avoid undefined behavior in decode_block() - avcodec/wmadec: Require previous exponents for reuse - avcodec/vc1_block: Fix undefined behavior in ac prediction rescaling - avcodec/qdm2: The smallest header seems to have 2 bytes so treat 1 as invalid - avcodec/apedec: Fixes integer overflow of res+*data in do_apply_filter() - avcodec/sonic: Fix integer overflow in predictor_calc_error() - avformat/vividas: Add EOF check in val_1 loop in track_header() - avcodec/atrac9dec: Check precision_fine/coarse - avformat/mp3dec: Check that the frame fits within the probe buffer - vcodec/agm: Alloc based on coded dimensions - avcodec/wmaprodec: get frame during frame decode - avcodec/interplayacm: Fix overflow of last unused value - avcodec/adpcm: Fix undefined behavior with negative predictions in IMA OKI - avcodec/cook: Move up and extend block_align check - avcodec/sbcdec: Fix integer overflows in sbc_synthesize_four() - avcodec/twinvq: Check block_align - avcodec/cook: Enlarge gain table - avcodec/cook: Check samples_per_channel earlier - avcodec/atrac3plus: Check split point in fill mode 3 - avcodec/wmavoice: Check sample_rate - avcodec/xsubdec: fix overflow in alpha handling - avcodec/iff: Check available space before entering loop in decode_long_vertical_delta2() / decode_long_vertical_delta() - avcodec/apedec: Fix integer overflow in filter_3800() - avutil/lfg: Document the AVLFG struct - avcodec/ffv1dec: Use a different error message for the slice level CRC - avcodec/apedec: Fix undefined integer overflow in long_filter_ehigh_3830() - avcodec/dstdec: Check that AC probabilities are within range - avcodec/dstdec: Check read_table() for failure - avformat/vividas: Fix n_sb_blocks Check - avcodec/snowenc: Set mb_num to avoid ratecontrol floating point divisions by 0.0 - avcodec/snowenc: Fix 2 undefined shifts - avformat/nutenc: Do not pass NULL to memcmp() in get_needed_flags() - avcodec/aptx: Check the number of channels - avcodec/aacdec_template: Check samplerate - avcodec/truemotion2: Fix several integer overflows in tm2_low_res_block() - avcodec/utils: Check block_align - avcodec/wmalosslessdec: Fix some integer anomalies - avcodec/adpcm: Fix invalid shifts in ADPCM DTK - avcodec/apedec: Only clear the needed buffer space, instead of all - avcodec/libvorbisdec: Fix insufficient input checks leading to out of array reads - avcodec/g723_1dec: fix invalid shift with negative sid_gain - avcodec/vp5: Check render_x/y - avcodec/hcom: Check the root entry and the right entries - avcodec/qdrw: Check input for header/skiped space before get_buffer() - avcodec/ralf: Skip initializing unused filter variables - avcodec/takdec: Fix overflow with large sample rates - avcodec/atrac9dec: Set channels - avcodec/alsdec: Check that input space for header exists in read_diff_float_data() - avformat/pjsdec: Check duration for overflow - avcodec/agm: Check for reference frame earlier - avcodec/ptx: Check that the input contains at least one line - avcodec/alac: Fix integer overflow in LPC - avcodec/smacker: Fix integer overflows in pred[] in smka_decode_frame() - avcodec/aliaspixdec: Check input size against minimal picture size - avcodec/ffwavesynth: Fix integer overflows in pink noise addition - avcodec/vc1_block: Fixes integer overflow in vc1_decode_i_block_adv() - avcodec/wmalosslessdec: Check block_align - avcodec/g729dec: Avoid computing invalid temporary pointers for ff_acelp_weighted_vector_sum() - avcodec/g729postfilter: Fix left shift of negative value - avcodec/binkaudio: Check sample rate - avcodec/sbcdec: Fix integer overflows in sbc_synthesize_eight() - avcodec/adpcm: Check initial predictor for ADPCM_IMA_EA_EACS - avcodec/g723_1dec: Fix overflow in shift - avcodec/apedec: Fix integer overflow in predictor_update_3930() - avcodec/g729postfilter: Fix undefined intermediate pointers - avcodec/g729postfilter: Fix undefined shifts - avcodec/lsp: Fix undefined shifts in lsp2poly() - avcodec/adpcm: Fix left shifts in AV_CODEC_ID_ADPCM_EA - avformat/shortendec: Check k in probe - avfilter/vf_geq: Use av_clipd() instead of av_clipf() - avcodec/wmaprodec: Check that the streams channels do not exceed the overall channels - avcodec/qdmc: Check input space in qdmc_get_vlc() - avcodec/wmaprodec: Fix cleanup on error - avcodec/pcm: Check bits_per_coded_sample - avcodec/exr: Allow duplicate use of channel indexes - avcodec/fitsdec: Fail on 0 naxisn - avcodec/dxv: Subtract 12 earlier in dxv_decompress_cocg() - libavcodec/dxv: Remove redundant seek - avcodec/ituh263dec: Check input for minimal frame size - avcodec/truemotion1: Check that the input has enough space for a minimal index_stream - avformat/mpsubdec: Clear queue on error - avcodec/sunrast: Check that the input is large enough for the maximally compressed image - avcodec/sunrast: Check for availability of maplength before allocating image - avformat/subtitles: Check nb_subs in ff_subtitles_queue_finalize() - avcodec/vc1_block: Fix invalid left shift in vc1_decode_p_mb() - avcodec/wmaprodec: Check if there is a stream - avcodec/g2meet: Check for end of input in jpg_decode_block() - avcodec/g2meet: Check if adjusted pixel was on the stack - avformat/electronicarts: If no packet has been read at the end do not treat it as if theres a packet - avcodec/dxv: Check op_offset in dxv_decompress_yo() - avcodec/utils: Check sample_rate before opening the decoder - avcodec/aptx: Fix multiple shift anomalies - avcodec/fitsdec: fix use of uninitialised values - avcodec/motionpixels: Mark 2 functions as always_inline - avcodec/ituh263dec: Make the condition for the studio slice start code match between ff_h263_resync() and ff_mpeg4_decode_studio_slice_header() - avcodec/ralf: Fix integer overflow in decode_channel() - vcodec/vc1: compute rangex/y only for P/B frames - avcodec/vc1_pred: Fix invalid shifts in scaleforopp() - avcodec/vc1_block: Fix invalid shift with rangeredfrm - avcodec/vc1: Check for excessive resolution - avcodec/vc1: check REFDIST - avcodec/apedec: Fix several integer overflows in predictor_update_filter() and do_apply_filter() - avcodec/hevc_cabac: Tighten the limit on k in ff_hevc_cu_qp_delta_abs() - avcodec/4xm: Check index in decode_i_block() also in the path where its not used. - avcodec/loco: Check for end of input in the first line - avcodec/atrac3: Check block_align - avcodec/alsdec: Avoid dereferencing context pointer in inner interleave loop - avcodec/hcom: Check that there are dictionary entries - avcodec/fitsdec: Prevent division by 0 with huge data_max - avcodec/dstdec: Fix integer overflow in samples_per_frame computation - avcodec/g729_parser: Check block_size - avcodec/sbcdec: Initialize number of channels - avcodec/utils: Optimize ff_color_frame() using memcpy() - avcodec/aacdec: Check if we run out of input in read_stream_mux_config() - avcodec/utils: Use av_memcpy_backptr() in ff_color_frame() - avcodec/smacker: Fix integer overflow in signed int multiply in SMK_BLK_FILL - avcodec/alac: Fix invalid shifts in 20/24 bps - avcodec/alac: fix undefined behavior with INT_MIN in lpc_prediction() - avcodec/ffwavesynth: Fix integer overflow in timestamps - avformat/vividas: Test size and packet numbers a bit more - avformat/vividas: Check n_sb_blocks against input space - avcodec/dxv: Check op_offset in both directions - avcodec/adpcm: Check number of channels for MTAF - avcodec/sunrast: Fix indention - avcodec/sunrast: Fix return type for "unsupported (compression) type" - avcodec/utils: Check channels fully earlier - avformat/mov: Check for EOF in mov_read_meta() - avcodec/hevcdec: Fix memleak of a53_caption - avformat/vividas: Remove align offset which is always masked off - avformat/vividas: remove dead assignment - avformat/cdxl: Fix integer overflow in intermediate - avcodec/hevcdec: repeat character in skiped - repeat an even number of characters in occured - avcodec/gdv: Replace assert() checking bitstream by if() - libavcodec/utils: Free threads on init failure - avcodec/htmlsubtitles: Avoid locale dependant isdigit() - avcodec/alsdec: Check k from being outside what our implementation can handle - avcodec/takdec: Fix integer overflow in decorrelate() - avcodec/aacps: Fix integer overflows in hybrid_synthesis() - avcodec/mpeg4videodec: Fix integer overflow in mpeg4_decode_studio_block() - avcodec/vp56rac: delay signaling an error on truncated input - avcodec/pnm_parser: Use memchr() in pnm_parse() - tests: Fix bash errors in lavf_container tests. - avformat/matroskadec: Fix use-after-free when demuxing ProRes - avformat/matroskadec: Fix demuxing ProRes - avcodec/cbs_av1: fix array size for ar_coeffs_cb_plus_128 and ar_coeffs_cr_plus_128 - avcodec/cbs_av1: avoid reading trailing bits when obu type is OBU_TILE_LIST - lavc/cbs_h2645: Fix incorrect max size of nalu unit - avcodec/extract_extradata_bsf: Don't unref uninitialized buffers - avformat/av1: Fix leak of dynamic buffer in case of parsing failure - libavformat/rtsp: return error if rtsp_hd_out is null instead of crash - cbs_h264: Fix missing inferred colour description fields - avcodec/cbs_av1: keep separate reference frame state for reading and writing - avcodec/cbs_av1: fix reading reference order hint in skip_mode_params() - avcodec/amfnec: allocate packets using av_new_packet() - avcodec/nvenc: make sure newly allocated packets are refcounted - lavc/mpeg4audio: add chan_config check to avoid indeterminate channels - aformat/movenc: add missing padding to output track extradata - avcodec/nvenc: add driver version info for SDK 9.1 - avcodec/bsf: check that AVBSFInternal was allocated before dereferencing it
ffmpeg4: updated to 4.2.1 version 4.2.1: - avformat/vividas: check for tiny blocks using alignment - avcodec/vc1_pred: Fix refdist in scaleforopp() - avcodec/vorbisdec: fix FASTDIV usage for vr_type == 2 - avcodec/iff: Check for overlap in cmap_read_palette() - avcodec/apedec: Fix 32bit int overflow in do_apply_filter() - lavf/rawenc: Only accept the appropriate stream type for raw muxers. - avformat/matroskadec: use av_fast_realloc to reallocate ebml list arrays - avformat/matroskadec: use proper types for some EbmlSyntax fields - avcodec/ralf: fix undefined shift in extend_code() - avcodec/ralf: fix undefined shift - avcodec/bgmc: Check input space in ff_bgmc_decode_init() - avcodec/vp3: Check for end of input in 2 places of vp4_unpack_macroblocks() - avcodec/truemotion2: Fix multiple integer overflows in tm2_null_res_block() - avcodec/vc1_block: Check the return code from vc1_decode_p_block() - avcodec/vc1dec: Require res_sprite for wmv3images - avcodec/vc1_block: Check for double escapes - avcodec/vorbisdec: Check get_vlc2() failure - avcodec/tta: Fix integer overflow in prediction - avcodec/vb: Check input packet size to be large enough to contain flags - avcodec/cavsdec: Limit the number of access units per packet to 2 - avcodec/atrac9dec: Check block_align - avcodec/alac: Check for bps of 0 - avcodec/alac: Fix multiple integer overflows in lpc_prediction() - avcodec/rl2: set dimensions - avcodec/aacdec: Add FF_CODEC_CAP_INIT_CLEANUP - avcodec/idcinvideo: Add 320x240 default maximum resolution - avformat/realtextdec: free queue on error - avcodec/vp5/6/8: use vpX_rac_is_end() - avformat/vividas: Check av_xiphlacing() return value before use - avcodec/alsdec: Fix integer overflow in decode_var_block_data() - avcodec/alsdec: Limit maximum channels to 512 - avcodec/anm: Check input size for a frame with just a stop code - avcodec/flicvideo: Optimize and Simplify FLI_COPY in flic_decode_frame_24BPP() by using bytestream2_get_buffer() - avcodec/loco: Check left column value - avcodec/ffwavesynth: Fixes invalid shift with pink noise seeking - avcodec/ffwavesynth: Fix integer overflow for some corner case values - avcodec/indeo2: Check remaining input more often - avcodec/diracdec: Check that slices are fewer than pixels - avcodec/vp56: Consider the alpha start as end of the prior header - avcodec/4xm: Check for end of input in decode_p_block() - avcodec/hevcdec: Check delta_luma_weight_l0/1 - avcodec/hnm4video: Optimize postprocess_current_frame() - avcodec/hevc_refs: Optimize 16bit generate_missing_ref() - avcodec/scpr: Use av_memcpy_backptr() in type 17 and 33 - avcodec/tiff: Enforce increasing offsets - avcodec/dds: Use ff_set_dimensions() - avformat/vividas: Fix another infinite loop - avformat/vividas: Fix infinite loop in header parser - avcodec/mpc8: Fix 32bit mask/enum - avcodec/alsdec: Fix integer overflows of raw_samples in decode_var_block_data() - avcodec/alsdec: Fix integer overflow of raw_samples in decode_blocks() - avcodec/alsdec: fix mantisse shift - avcodec/pngdec: consider chunk size in minimal size check - avcodec/vc1_block: Fix invalid shifts in vc1_decode_i_blocks() - avcodec/vc1_block: fix invalid shift in vc1_decode_p_mb() - avcodec/aacdec_template: fix integer overflow in imdct_and_windowing() - avformat/mpegts: Check if ready on SCTE reception - avcodec/omx: fix xFramerate calculation - avformat/avidec: add support for recognizing HEVC fourcc when demuxing - avformat/mpegts: fix teletext PTS when selecting teletext streams only - avcodec/h2645_parse: zero initialize the rbsp buffer - avcodec/omx: Fix handling of fragmented buffers - avcodec/omx: ensure zerocopy mode can be disabled on rpi builds - avformat/mxfdec: do not ignore bad size errors - avformat/matroskadec: Fix seeking - ffplay: properly detect all window size changes
ffmpeg4: updated to 4.2 version 4.2: - tpad filter - AV1 decoding support through libdav1d - dedot filter - chromashift and rgbashift filters - freezedetect filter - truehd_core bitstream filter - dhav demuxer - PCM-DVD encoder - GIF parser - vividas demuxer - hymt decoder - anlmdn filter - maskfun filter - hcom demuxer and decoder - ARBC decoder - libaribb24 based ARIB STD-B24 caption support (profiles A and C) - Support decoding of HEVC 4:4:4 content in nvdec and cuviddec - removed libndi-newtek - agm decoder - KUX demuxer - AV1 frame split bitstream filter - lscr decoder - lagfun filter - asoftclip filter - Support decoding of HEVC 4:4:4 content in vdpau - colorhold filter - xmedian filter - asr filter - showspatial multimedia filter - VP4 video decoder - IFV demuxer - derain filter - deesser filter - mov muxer writes tracks with unspecified language instead of English by default - add support for using clang to compile CUDA kernels
ffmpeg4: updated to 4.1.4 version 4.1.4: avcodec/ilbcdec: Simplify use of unsigned and fix more undefined overflows avcodec/golomb: Correct the doxy about get_ue_golomb() and errors avformat/utils: Check timebase before use in estimate_timings() avcodec/hq_hqa: Use ff_set_dimensions() avcodec/rv10: Fix integer overflow in aspect ratio compare avcodec/4xm: Fix signed integer overflows in idct() avcodec/qdm2: Check checksum_size for 0 avcodec/qdm2: error out of qdm2_fft_decode_tones() before entering endless loop avcodec/qdm2: Do not read out of array in fix_coding_method_array() avcodec/svq3: Use ff_set_dimension() avcodec/iff: Check ham vs bpp avcodec/ffwavesynth: use uint32_t to compute difference, it is enough avcodec/ffwavesynth: Simplify lcg_seek(), avoid negative case avcodec/ffwavesynth: Fix backward lcg_seek() avcodec/flicvideo: Fix off by 1 error in flic_decode_frame_24BPP() avcodec/vc1_block: Check for vlc error in vc1_decode_ac_coeff() avcodec/alac: Check lpc_quant avcodec/dxv: Initialize tex_funct to NULL avcodec/alsdec: Add FF_CODEC_CAP_INIT_CLEANUP avcodec/alsdec: Fix integer overflow with buffer number avcodec/alsdec: Fixes signed integer overflow in LSB addition avcodec/alsdec: Check opt_order / sb_length in ra_block handling avcodec/alsdec: Fix integer overflow with shifting samples avcodec/alsdec: Fix undefined behavior in decode_rice() avcodec/alsdec: Fixes invalid shifts in read_var_block_data() and INTERLEAVE_OUTPUT() avcodec/hevc_ps: Change num_tile_rows/columns checks to sps->ctb_height/weight avcodec/hevc_ps: Fix integer overflow with num_tile_rows and num_tile_columns avcodec/apedec: Add k < 24 check to the only k++ case which lacks such a check avformat/aviobuf: Delay buffer downsizing until asserts are met avcodec/fitsdec: Check data_min/max avcodec/m101: Fix off be 2 error avcodec/qdm2: Move fft_order check up avcodec/libvorbisdec: Check extradata size avformat/vqf: Check header_size avcodec/atrac9dec: Check q_unit_cnt in parse_band_ext() avcodec/atrac9dec: Check that the reused block has succeeded initilization avcodec/utils: Check bits_per_coded_sample avcodec/videodsp_template: Fix overflow of addition avcodec/alsdec: Fix invalid shift in multiply() avcodec/ffwavesynth: Check ts_end - ts_start for overflow avcodec/vc1dsp: Avoid undefined shifts in vc1_v_s_overlap_c / vc1_h_s_overlap_c avcodec/tta: Fix undefined shift avcodec/qdmc: Fix integer overflows in PRNG avcodec/bintext: Check font height avcodec/binkdsp: Fix integer overflows in idct avcodec/bink: Fix integer overflow in unquantize_dct_coeffs() avcodec/motionpixels: Check for vlc error in mp_get_vlc() avcodec/loco: Limit lossy parameter so it is sane and does not overflow avformat/mov: Set fragment.found_tfhd only after TFHD has been parsed avcodec/xpmdec: Do not use context dimensions as temporary variables avcodec/fitsdec: Fix division by 0 in size check avcodec/aacpsdsp_template: Fix integer overflow in ps_hybrid_analysis_c() avcodec/truemotion2: Fix integer overflow in last loop in tm2_update_block() avcodec/iff: finetune the palette size check in the mask case avcodec/iff: Fix mask_buf / mask_palbuf leak avformat/icodec: Free ico->images on error paths avformat/wsddec: Fix undefined shift avcodec/fmvc: Check if header fields are available before allocating the image avcodec/bink: Reorder operations in init to avoid memleak on error avformat/wtvdec: Avoid (32bit signed) sectors avcodec/bitstream: Check for more conflicting codes in build_table() avcodec/bitstream: Check for integer code truncation in build_table() avformat/sbgdec: Fixes integer overflow in str_to_time() with hours avformat/vpk: Check offset for validity avformat/vpk: Fix integer overflow in samples_per_block computation avcodec/mjpegdec: Check for non ls PAL8 avcodec/interplayvideo: check decoding_map_size with video_data_size avcodec/h264_parse: Use 64bit for expectedpoc and expected_delta_per_poc_cycle avcodec/mss4: Check input size against skip bits avcodec/dxv: Check op_offset in dxv_decompress_cocg() avcodec/diracdec: Fix integer overflow in global_mv() avcodec/vmnc: Check available space against chunks before reget_buffer() avcodec/aacdec_template: skip apply_tns() if max_sfb is 0 (from previous header decode failure) avcodec/aacdec_fixed: Handle more extreem cases in noise_scale() avcodec/aacdec_template: Merge 3 #ifs related to noise handling avcodec/aacdec_fixed: ssign seems always -1 in noise_scale(), simplify avformat/mp3enc: Avoid SEEK_END as it is unsupported avcodec/truemotion2: Fix several integer overflows in tm2_update_block() avformat/webm_chunk: Specify expected argument length of get_chunk_filename() avformat/webm_chunk: Check header filename length avcodec/cpia: Check input size also against linesizes and EOL swscale/tests/swscale: Lengthen pixfmt name buffer to 21 bytes libswcale: Fix possible string overflow in test. avcodec/hq_hqa: Check available space before reading slice offsets lavf/webm_chunk: Respect buffer size avcodec/fits: Check bitpix avcodec/jvdec: Use ff_get_buffer() when the content is not reused avcodec/truemotion2: Fix 2 integer overflows in tm2_update_block() avcodec/gdv: Check input palette size before rescale() avcodec/jpeg2000: Check stepsize before using it avcodec/aacdec_fixed: Fix undefined shift in noise_scale() avutil/avstring: Fix bug and undefined behavior in av_strncasecmp() avformat/mov: Skip stsd adjustment without chunks avformat/aadec: Check for scanf() failure avcodec/ccaption_dec: Add a blank like at the end to avoid rollup reading from outside avcodec/ivi: Move buffer/block end check to caller of ivi_dc_transform() avcodec/diracdec: Use 64bit in intermediate of global motion vector field generation avcodec/truemotion2: Fix integer overflow in tm2_decode_blocks() movsub_bsf: Fix mov2textsub regression lavc/libaomenc: Add a maximum constraint of 64 encoder threads. avformat/aacdec: fix demuxing of small frames avcodec/cuviddec: improve progressive frame detection avformat/matroskaenc: fix leak on error avformat/av1: Initialize padding in ff_isom_write_av1c avcodec/cbs_av1: fix parsing spatial_id
ffmpeg4: updated to 4.1.3 version 4.1.3: - avcodec/rscc: Check that the to be uncompressed input is large enough - avformat/movenc: free eac3 private data only when closing the stream - avcodec/hevcdec: Avoid only partly skiping duplicate first slices - lavc/bmp: Avoid a heap buffer overwrite for 1bpp input. - avcodec/mpegpicture: Check size of edge_emu_buffer - avformat/mov: Fix potential integer overflow in entry check in mov_read_trun() - avcodec/truemotion2: Fix integer overflow in tm2_null_res_block() - avcodec/cbs_av1: fix range of values for Mastering Display Color Volume Metadata OBUs - avcodec/av1_parser: don't abort parsing the first frame if extradata parsing fails
ffmpeg4: updated to 4.1.2 version 4.1.2: - avcodec/dfa: Check the chunk header is not truncated - avcodec/clearvideo: Check remaining data in P frames - avcodec/hevcdec: decode at most one slice reporting being the first in the picture - avcodec/dvbsubdec: Check object position - avcodec/cdgraphics: Use ff_set_dimensions() - avformat/gdv: Check fps - configure: use vpx_codec_vp8_dx/cx for libvpx-vp8 checking - configure: add missing pthreads extralibs dependency for libvpx-vp9 - avcodec/mpeg4videodec: Check idx in mpeg4_decode_studio_block() - avcodec/dxv: Correct integer overflow in get_opcodes() - avcodec/scpr: Fix use of uninitialized variable - avcodec/qpeg: Limit copy in qpeg_decode_intra() to the available bytes - avcodec/aic: Check remaining bits in aic_decode_coeffs() - avcodec/gdv: Check for truncated tags in decompress_5() - avcodec/bethsoftvideo: Check block_type - avcodec/jpeg2000dwt: Fix integer overflow in dwt_decode97_int() - avcodec/error_resilience: Use a symmetric check for skipping MV estimation - avcodec/mlpdec: Insuffient typo - avcodec/zmbv: obtain frame later - avcodec/jvdec: Check available input space before decode8x8() - avcodec/h264_direct: Fix overflow in POC comparission - avformat/webmdashenc: Check id in adaption_sets - avformat/http: Fix Out-of-Bounds access in process_line() - avformat/ftp: Fix Out-of-Bounds Access and Information Leak in ftp.c:393 - avcodec/htmlsubtitles: Fixes denial of service due to use of sscanf in inner loop for handling braces - avcodec/htmlsubtitles: Fixes denial of service due to use of sscanf in inner loop for tag scaning - avformat/matroskadec: Do not leak queued packets on sync errors - avcodec/mpeg4videodec: Clear interlaced_dct for studio profile - avformat/mov: Do not use reference stream in mov_read_sidx() if there is no reference stream - avcodec/sbrdsp_fixed.c: remove input value limit for sbr_sum_square_c() - avcodec/prores_ks: Fix luma quantization if q >= MAX_STORED_Q - avformat/mov: fix hang while seek on a kind of fragmented mp4 - avformat/async: fix assertion condition when draining buffer - avcodec/cbs_av1: don't call cbs_av1_read_trailing_bits() when no bits remain in the OBU
ffmpeg4/ffplay4: updated to 4.1.1
version 4.1.1:
- avformat/mov: validate chunk_count vs stsc_data
- avformat/mov: require tfhd to begin parsing trun
- avcodec/pgssubdec: Check for duplicate display segments
- avformat/rtsp: Check number of streams in sdp_parse_line()
- avformat/rtsp: Clear reply in every iteration in ff_rtsp_connect()
- avcodec/rasc: Move ff_get_buffer() after frame checks
- avcodec/rasc: Check uncompressed dlta size
- avcodec/fic: Check that there is input left in fic_decode_block()
- avcodec/ilbcdec: Fix undefined integer overflow lsf2poly()
- avcodec/ilbcdec: Fix integer overflow in construct_vector()
- avcodec/prosumer: Error out if decompress() stops reading data
- avcodec/tiff: Check for 12bit gray fax
- avutil/imgutils: Optimize memset_bytes() by using av_memcpy_backptr()
- avutil/mem: Optimize fill32() by unrolling and using 64bit
- configure: bump year
- avcodec/tests/rangecoder: initialize array to avoid valgrind warning
- avcodec/gdv: Optimize and factorize scaling loops
- avcodec/h264_slice: Fix integer overflow in implicit_weight_table()
- avcodec/exr: set layer_match in all branches
- avcodec/exr: Check for duplicate channel index
- avfilter/vf_tonemap_opencl: Make static tables const
- doc/indevs: fix upto typo
- avcodec/4xm: Fix returned error codes
- avformat/libopenmpt: Fix successfull typo
- avcodec/v4l2_m2m: fix cant typo
- avcodec/mjpegbdec: Fix some misplaced {} and spaces
- avformat/wvdec: detect and error out on WavPack DSD files
- avcodec/mips: Fix failed case: hevc-conformance-AMP_A_Samsung_* when enable msa
- avcodec/fic: Fail on invalid slice size/off
- avcodec/ilbcdec: fix integer overflow in energy
- postproc/postprocess_template: remove FF_REG_sp from clobber list
- postproc/postprocess_template: Avoid using %4 for the threshold compare
- libavformat/mov: Fix NULL-dereference read for some encrypted content.
- avcodec/rpza: Check that there is enough data for all the blocks
- avcodec/rpza: Move frame allocation to a later point
- avcodec/avcodec: Document the data type for AV_PKT_DATA_MPEGTS_STREAM_ID
- avformat/mpegts: Fix side data type for stream id
- tests/fate/filter-video: increase fuzz for fate-filter-refcmp-psnr-rgb
- avcodec/mjpegdec: Fix indention of ljpeg_decode_yuv_scan()
- lavf/id3v2: fail read_apic on EOF reading mimetype
- avcodec/rasc: Check that the number of moves is less than or equal the number of pixels
- avformat/nutenc: Document trailer index assert better
- lavf/mov: ensure only one tkhd per trak
- avcodec/clearvideo: Check remaining input bits in P macro block loop
- avcodec/rasc: Check input space before reading chunk
- avcodec/dxv: Check that there is enough data to decompress
- avcodec/ppc/hevcdsp: Fix build failures with powerpc-linux-gnu-gcc-4.8 with --disable-optimizations
- avcodec/msvideo1: Check for too small dimensions
- avcodec/wmv2dec: Skip I frame if its smaller than 1/8 of the minimal size
- avcodec/msmpeg4dec: Skip frame if its smaller than 1/8 of the minimal size
- avcodec/truemotion2rt: Fix rounding in input size check
- avcodec/diracdec: Check component quant
- avcodec/tiff: Limit filtering to decoded data
- avcodec/truemotion2: fix integer overflows in tm2_low_chroma()
- avcodec/pngdec: Check compression method
- fftools/ffmpeg: Repair reinit_filter feature
- avcodec/shorten: Fix integer overflow with offset
- avcodec/imm4: Use ff_set_dimensions()
- h264_redundant_pps: Fix logging context
- avfilter/af_asetnsamples: fix last frame props
- cbs_av1: Fix reading of overlong uvlc codes
- avcodec/cbs_av1: fix parsing delta_frame_id_minus1
- avfilter/vf_overlay: fix filtering with negative y
- avformat/movenc: get number of written bytes from bitstream writer
- avformat/movenc: fix size calculation in mov_write_eac3_tag()
- avfilter/vf_overlay: fix crash with negative y
- avcodec/mpeg_er: fix clearing chroma blocks for 422 and 444
- avfilter/af_afade: fix duration maximum
- avfilter/vf_fade: fix start/duration max value
- avcodec/cbs_av1: fix parsing signed integer values
- avcodec/cbs_av1: fix storage size for segmentation_params feature_value fields
- configure: Add missing xlib dependency for VAAPI X11 code
- avcodec/hevcdec: fix non-ref frame judgement
ffmpeg, ffplay - re-disable optimizations, pending more discussion
ffplay4, ffmpeg4: don't disable optimizations. these are runtime-detected as far as I can see (for multiple archs), so I don't think there's any harm in enabling them. bump PKGREVISION.
ffmpeg4/ffplay4: updated to 4.1 version 4.1: - deblock filter - tmix filter - amplify filter - fftdnoiz filter - aderivative and aintegral audio filters - pal75bars and pal100bars video filter sources - support mbedTLS based TLS - adeclick filter - adeclip filter - libtensorflow backend for DNN based filters like srcnn - vc1 decoder is now bit-exact - ATRAC9 decoder - lensfun wrapper filter - colorconstancy filter - AVS2 video decoder via libdavs2 - IMM4 video decoder - Brooktree ProSumer video decoder - MatchWare Screen Capture Codec decoder - WinCam Motion Video decoder - 1D LUT filter (lut1d) - RemotelyAnywhere Screen Capture decoder - cue and acue filters - support for AV1 in MP4 - transpose_npp filter - AVS2 video encoder via libxavs2 - amultiply filter - Block-Matching 3d (bm3d) denoising filter - acrossover filter - ilbc decoder - audio denoiser as afftdn filter - AV1 parser - SER demuxer - sinc audio filter source - chromahold filter - setparams filter - vibrance filter - decoding S12M timecode in h264 - xstack filter - pcm vidc decoder and encoder - (a)graphmonitor filter - yadif_cuda filter
ffmpeg4: updated to 4.0.3 version 4.0.3: - avutil/integer: Fix integer overflow in av_mul_i() - avcodec/msrle: Check that the input is large enough to contain a end of picture code - avformat/ftp: return AVERROR_EOF for EOF - avcodec/libx264: remove FF_CODEC_CAP_INIT_THREADSAFE flag - avcodec/jpeg2000dec: Fix off by 1 error in JPEG2000_PGOD_CPRL handling - avcodec/mpeg4videodec: Fix typo in sprite delta check - avcodec/h264_cavlc: Check mb_skip_run - avcodec/ra144: Fix integer overflow in add_wav() - avformat/utils: Never store negative values in last_IP_duration - avformat/utils: Fix integer overflow in discontinuity check - Revert "avcodec/cbs_h264: silence errors about end_of_seq nalus" - avcodec/cbs: ensure user_data is padded for GBC parsing - avcodec/cbs: fix crash in sei_pic_timestamp - avcodec/cbs_h264: silence errors about end_of_seq nalus - avcodec/cuviddec: properly take deinterlacing and display delay into account for buffer_full check - avcodec/h2645_parse: skip NALUs with no content after stripping all the trailing zeros - configure: <fflib>_deps: validate, reduce sensitivity - configure: speed up check_deps() - configure: speed up print_enabled_components() - configure: speed up flatten_extralibs_wrapper() - avformat/utils: Fix potential integer overflow in extract_extradata() - avcodec/unary: Improve get_unary() docs - avcodec/gdv: Replace divisions by shifts in rescale() - avcodec/ac3dec: Fix shift signedness in mask creation - avcodec/eac3dec: Check that channel_map does not contain more than EAC3_MAX_CHANNELS - doc/examples/vaapi_transcode: Fix the typo - avcodec/dvdsubdec: Sanity check len in decode_rle() - avcodec/mpeg4videodec: Fix undefined shift in get_amv() - avcodec/zmbv: Check that the decompressed data size is correct - avcodec/zmbv: Update decomp_len in raw frames - avcodec/shorten: Fix bitstream end check in read_header() - avcodec/dvdsubdec: Avoid branch in decode_run_8bit() - avcodec/h264_refs: Document last if() in ff_h264_execute_ref_pic_marking() - avcodec/ra144: Fix undefined integer overflow in add_wav() - avcodec/indeo4: Check dimensions in decode_pic_hdr() - avformat/mov: Error on too large stsd entry counts. - examples: Fix use of AV_CODEC_FLAG_GLOBAL_HEADER - avcodec/hq_hqa: Check remaining input bits in hqa_decode_mb() - avcodec/vb: Check for end of bytestream before reading blocktype - avcodec/snowdec: Fix integer overflow with motion vector residual - avcodec/mpeg4videodec: Fix slice end detection in mpeg4_decode_studio_mb() - avformat/nsvdec: Do not parse multiple NSVf - avformat/dashdec: Fix strlen(rep_id_val) with it being NULL - avformat/mlvdec: read_string() received unsigned size, make the argument unsigned - avformat/rmdec: Fix EOF check in the stream loop in ivr_read_header() - avcodec/scpr: Check for min > max in decompress_p() - avcodec/shorten: Fix signed 32bit overflow in shift in shorten_decode_frame() - avcodec/shorten: Fix integer overflow in residual/LPC combination - avcodec/shorten: Check verbatim length - avcodec/mpegaudio_parser: Initialize poutbuf* - avcodec/aacpsdsp_template: Fix integer overflow in ps_stereo_interpolate_c() - avformat/flvenc: Check audio packet size - lavc/svq3: Fix regression decoding some files. - avcodec/mlp_parser: Check if synccode is within buffer - avcodec/qtrle: Check remaining bytestream in qtrle_decode_XYbpp() - avcodec/diracdec: Check bytes count in else branch in decode_lowdelay() too - avcodec/diracdec: Check slice numbers for overflows in relation to picture dimensions - avcodec/diracdec: Change frame_number to 64bit as its a 32bit from the bitstream and we also have a -1 special case - avcodec/dirac_dwt_template: Fix several integer overflows in horizontal_compose_daub97i() - avcodec/diracdec: Prevent integer overflow in intermediate in global_mv() - swresample/swresample: Fix input channel count in resample_first computation - avutil/pixfmt: Document chroma plane size for odd resolutions - lavf/libsmbclient: return AVERROR_EOF for EOF. - lavc/videotoolboxenc: Fix compilation on osx 10.10.5 Yosemite - avcodec/mediacodecdec: fix SEGV on modern nvidia decoders - avcodec/bitstream_filters: check the input argument of av_bsf_get_by_name() for NULL - avformat/librtmp: fix returning EOF from Read/Write - avcodec/videotoolboxenc: fix undefined behavior with rc_max_rate=0
ffmpeg4: pkg-config is needed to find libxml2, so it is always needed (this fixes ffplay4)
ffmpeg4: fix librtmp detection While here, fix a LICENSE issue.
Only need nasm when building for x86.
ffmpeg4: updated to 4.0.2 version 4.0.2: - avcodec/dvdsub_parser: Allocate input padding - avcodec/dvdsub_parser: Init output buf/size - avcodec/dirac_dwt_template: Fix signedness regression in interleave() - avformat/mov: Simplify last element computation in mov_estimate_video_delay() - avformat/mov: Break out of inner loop early in mov_estimate_video_delay() - avformat/mov: Eliminate variable buf_size from mov_estimate_video_delay() - avformat/mov: remove modulo operations from mov_estimate_video_delay() - avformat/movenc: Write version 2 of audio atom if channels is not known - swresample/arm: rename labels to fix xcode build error - avformat/movenc: Check input sample count - avcodec/mjpegdec: Check for odd progressive RGB - avcodec/vp8_parser: Do not leave data/size uninitialized - avformat/mms: Add missing chunksize check - avformat/pva: Check for EOF before retrying in read_part_of_packet() - avformat/rmdec: Do not pass mime type in rm_read_multi() to ff_rm_read_mdpr_codecdata() - avformat/asfdec_o: Check size_bmp more fully - avformat/mxfdec: Fix av_log context - avcodec/mpeg4videodec: Check for bitstream end in read_quant_matrix_ext() - avcodec/indeo4: Check for end of bitstream in decode_mb_info() - avcodec/ac3dec: Check channel_map index - avcodec/mpeg4videodec: Remove use of FF_PROFILE_MPEG4_SIMPLE_STUDIO as indicator of studio profile - avcodec/shorten: Fix undefined addition in shorten_decode_frame() - avcodec/shorten: Fix undefined integer overflow - avcodec/jpeg2000dec: Fixes invalid shifts in jpeg2000_decode_packets_po_iteration() - avcodec/jpeg2000dec: Check that there are enough bytes for all tiles - avformat/movenc: Use mov->fc consistently for av_log() - avcodec/mpeg4videodec: Check read profile before setting it - avformat/movenc: Do not pass AVCodecParameters in avpriv_request_sample - avcodec/ac3_parser: Check init_get_bits8() for failure - avformat/movenc: Check that frame_types other than EAC3_FRAME_TYPE_INDEPENDENT have a supported substream id - avcodec/dpx: Check elements in 12bps planar path - avcodec/escape124: Fix spelling errors in comment - avcodec/ra144: Fix integer overflow in ff_eval_refl() - avcodec/cscd: Check output buffer size for lzo. - avcodec/escape124: Check buf_size against num_superblocks - avcodec/h264_parser: Reduce needed history for parsing mb index - avcodec/magicyuv: Check bits left in flags&1 branch - avcodec/mjpegdec: Check for end of bitstream in ljpeg_decode_rgb_scan() - ffmpeg: fix -stream_loop with multiple inputs - ffmpeg: factorize input thread creation and destruction - avformat/mpegts: parse large PMTs with multiple tables - Revert "avcodec/mediacodecdec: wait on first frame after input buffers are full" - avcodec/videotoolboxenc: fix invalid session on iOS - avcodec/videotoolboxenc: split initialization - avcodec/videotoolboxenc: fix mutex/cond leak in error path
ffmpeg4: updated to 4.0.1 version 4.0.1: - avcodec/aacdec_fixed: Fix undefined integer overflow in apply_independent_coupling_fixed() - avcodec/dirac_dwt_template: Fix undefined behavior in interleave() - avutil/common: Fix undefined behavior in av_clip_uintp2_c() - fftools/ffmpeg: Fallback to duration if sample rate is unavailable - avformat/mov: Only set pkt->duration to non negative values - avcodec/mpeg4videodec: Clear bits_per_raw_sample if it has originated from a previous instance - avformat/movenc: fix recognization of cover image streams - avformat/movenc: properly handle cover image codecs - avcodec/h264_slice: Fix overflow in recovery_frame computation - avcodec/h264_ps: Move MAX_LOG2_MAX_FRAME_NUM to header so it can be used in h264_sei - avcodec/h264_mc_template: Only prefetch motion if the list is used. - avcodec/xwddec: Use ff_set_dimensions() - avcodec/wavpack: Fix overflow in adding tail - avcodec/shorten: Fix multiple integer overflows - avcodec/shorten: Fix undefined shift in fix_bitshift() - avcodec/shorten: Fix a negative left shift in shorten_decode_frame() - avcodec/shorten: Sanity check nmeans - avcodec/shorten: Check non COMM chunk len before skip in decode_aiff_header() - avcodec/mjpegdec: Fix integer overflow in ljpeg_decode_rgb_scan() - avcodec/truemotion2: Fix overflow in tm2_apply_deltas() - avcodec/opus_silk: Change silk_lsf2lpc() slightly toward silk/NLSF2A.c - avcodec/amrwbdec: Fix division by 0 in find_hb_gain() - avcodec/h263dec: Reinitialize idct context if it has not been setup for the active profile - avcodec/idctdsp: Clear idct/idct_add for studio profile - avformat/mov: replace a value error by clipping into valid range in mov_read_stsc() - avformat/bintext: Reduce detection for random .bin files as it more likely is not a multimedia related file - avformat/mov: Break out early if chunk_count is 0 in mov_build_index() - avcodec/fic: Avoid some magic numbers related to cursors - avcodec/mpeg4video: Detect reference studio streams as studio streams - avcodec/mpeg4videodec: Do not corrupt bits_per_raw_sample - avcodec/mpeg4videode: Eliminate out of loop VOP startcode reading for studio profile - avcodec/g2meet: ask for sample with overflowing RGB - avcodec/idctdsp: Transmit studio_profile to init instead of using AVCodecContext profile - avcodec/ac3dec: Check that the number of channels with dependant streams is valid - avcodec/ac3dec: Fix null pointer dereference in ac3_decode_frame() - avcodec/aacdec_fixed: use 64bit to avoid overflow in rounding in apply_dependent_coupling_fixed() - oavcodec/aacpsdsp_template: Use unsigned for hs0X to prevent undefined behavior - avcodec/g723_1dec: Clip bits2 in both directions - avcodec/mpeg4videoenc: Use 64 bit for times in mpeg4_encode_gop_header() - avcodec/mlpdec: Only change noise_type if the related fields are valid - indeo4: Decode all or nothing of a band header. - avcodec/ac3dec: Use frame_size if superframe_size is 0 - avformat/mov: Only fail for STCO/STSC contradictions if both exist - avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD97iH0 / COMPOSE_DD137iL0 - avcodec/fic: Check available input space for cursor - avcodec/mpeg4videodec: Check bps (VOL header) before VOP for studio profile - avcodec/g2meet: Check RGB upper limit - avcodec/jpeg2000dec: Fix undefined shift in the jpeg2000_decode_packets_po_iteration() CPRL case - avcodec/jpeg2000dec: Skip init for component in CPRL if nothing is to be done - avcodec/g2meet: Change order of operations to avoid undefined behavior - avcodec/flac_parser: Fix infinite loop - avcodec/mpeg4videodec: Split decode_studio_vol_header() out of decode_studiovisualobject() - avcodec/mpeg4videodec: Move decode_studiovisualobject() parsing in the branch for visual object parsing - avcodec/mpeg4video_parser: Avoid litteral 0x1B6, use named constant instead - avcodec/mpeg4video_parser: Fix incorrect spliting of MPEG-4 studio frames - avformat/m4vdec: Use the same constant names as libavcodec - avformat/m4vdec: Fix detection of raw MPEG-4 ES Studio - avcodec/wavpack: Fix integer overflow in DEC_MED() / INC_MED() - avcodec/wavpack: Fix integer overflow in wv_unpack_stereo() - avcodec/error_resilience: Fix integer overflow in filter181() - avcodec/h263dec: Check slice_ret in mspeg4 slice loop - avcodec/elsdec: Fix memleaks - avcodec/vc1_block: simplify ac_val computation - avcodec/ffv1enc: Check that the crc + version combination is supported - configure: The eac3_core bitstream filter needs the ac3 parser. - configure: fix arm inline asm checks - lavf/libssh: translate a read of 0 to EOF - ffprobe: fix SEGV when new streams are added - avformat/mpegts: fix incorrect indentation - avformat/mpegts: initialize section_buf to fix valgrind test failure - avformat/mpegts: reindent after last change - avformat/mpegts: parse sections with multiple tables - avformat/mpegts: clean up whitespace - avformat/mpegts: use MAX_SECTION_SIZE instead of hardcoded value - avformat/mpegts: skip non-PMT tids earlier - avcodec/mediacodecdec: add workaround for buggy amlogic mpeg2 decoder - avcodec/mediacodecdec: wait on first frame after input buffers are full - avcodec/mediacodecdec: restructure mediacodec_receive_frame - avcodec/mediacodec_wrapper: add helper to fetch SDK_INT - avcodec/mediacodecdec: refactor pts handling - avcodec/mediacodecdec: use AV_TIME_BASE_Q - avcodec/mediacodecdec: clarify delay_flush specific code - avcodec/videotoolbox: fix decoding of some HEVC videos - avcodec/hevc: remove videotoolbox hack - avcodec/videotoolbox: split h264/hevc callbacks - avcodec/videotoolbox: cleanups - avcodec/videotoolbox: fix kVTCouldNotFindVideoDecoderErr trying to decode HEVC on iOS - avcodec/videotoolbox: improve logging of decoder errors - avcodec/xwddec: fix palette alpha - avformat/webm_chunk: always use a static buffer for get_chunk_filename - configure: fix configure check for lilv-0 - avcodec/nvdec_hevc: fix scaling lists - avcodec/hevcdec: make ff_hevc_frame_nb_refs take a const pointer - lavf/bluray: translate a read of 0 to EOF - lavf/dashenc: don't call flush_init_segment before avformat_write_header - avdevice/decklink_dec: unref packets on avpacket_queue_put error - avcodec/hnm4video: fix palette alpha - avcodec/anm: fix palette alpha - avformat/qtpalette: parse color table according to the QuickTime file format specs - ffplay: Fix realloc_texture when input texture is NULL. - hwcontext_vaapi: Fix compilation with libva versions < 1.4.0 - lavf/qsv: clone the frame which may be managed by framework - lavf: make overlay_qsv work based on framesync - avformat/segafilm - revert keyframe detection - avformat/utils: refactor upstream_stream_timings - avformat/utils: ignore outlier durations on subtitle/data streams as well
ffmpeg4/ffplay4: added version 4.0 version 4.0: - Bitstream filters for editing metadata in H.264, HEVC and MPEG-2 streams - Dropped support for OpenJPEG versions 2.0 and below. Using OpenJPEG now requires 2.1 (or later) and pkg-config. - VDA dropped (use VideoToolbox instead) - MagicYUV encoder - Raw AMR-NB and AMR-WB demuxers - TiVo ty/ty+ demuxer - Intel QSV-accelerated MJPEG encoding - PCE support for extended channel layouts in the AAC encoder - native aptX and aptX HD encoder and decoder - Raw aptX and aptX HD muxer and demuxer - NVIDIA NVDEC-accelerated H.264, HEVC, MJPEG, MPEG-1/2/4, VC1, VP8/9 hwaccel decoding - Intel QSV-accelerated overlay filter - mcompand audio filter - acontrast audio filter - OpenCL overlay filter - video mix filter - video normalize filter - audio lv2 wrapper filter - VAAPI MJPEG and VP8 decoding - AMD AMF H.264 and HEVC encoders - video fillborders filter - video setrange filter - nsp demuxer - support LibreSSL (via libtls) - AVX-512/ZMM support added - Dropped support for building for Windows XP. The minimum supported Windows version is Windows Vista. - deconvolve video filter - entropy video filter - hilbert audio filter source - aiir audio filter - aiff: add support for CD-ROM XA ADPCM - Removed the ffserver program - Removed the ffmenc and ffmdec muxer and demuxer - VideoToolbox HEVC encoder and hwaccel - VAAPI-accelerated ProcAmp (color balance), denoise and sharpness filters - Add android_camera indev - codec2 en/decoding via libcodec2 - muxer/demuxer for raw codec2 files and .c2 files - Moved nvidia codec headers into an external repository. They can be found at http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git - native SBC encoder and decoder - drmeter audio filter - hapqa_extract bitstream filter - filter_units bitstream filter - AV1 Support through libaom - E-AC-3 dependent frames support - bitstream filter for extracting E-AC-3 core - Haivision SRT protocol via libsrt - segafilm muxer - vfrdet filter