Received: by mail.netbsd.org (Postfix, from userid 605) id 2E8A684D7A; Mon, 23 May 2022 13:49:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 66F6B84D27 for ; Mon, 23 May 2022 13:49:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id AbRbIFr5VIfn for ; Mon, 23 May 2022 13:49:33 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4D8B484CFE for ; Mon, 23 May 2022 13:49:33 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 21372FAEB; Mon, 23 May 2022 13:50:20 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1653313820100240" MIME-Version: 1.0 Date: Mon, 23 May 2022 13:50:20 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/multimedia To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20220523135020.21372FAEB@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1653313820100240 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Mon May 23 13:50:20 UTC 2022 Modified Files: pkgsrc/multimedia/ffmpeg3: Makefile Makefile.common distinfo pkgsrc/multimedia/ffplay3: Makefile Log Message: ffmpeg3 ffplay3: updated to 3.4.11 version 3.4.11: avfilter/vf_colorspace: fix memmory leaks avcodec/ac3enc: Fix memleak avformat/nutenc: don't allocate a dynamic AVIOContext if no index is going to be written avfilter/vf_random: fix memory leaks avfilter/vf_bwdif: fix heap-buffer overflow fftools/ffmpeg_opt: Fix leak of options when parsing options fails avfilter/vf_edgedetect: fix heap-buffer overflow avfilter/vf_w3fdif: deny processing small videos avfilter/vf_avgblur: fix heap-buffer overflow avfilter/af_tremolo: fix heap-buffer overflow avfilter/vf_edgedetect: check if height is big enough avfilter/vf_bitplanenoise: fix overreads avfilter/vf_fieldorder: fix heap-buffer overflow avfilter/vf_fieldmatch: fix heap-buffer overflow aformat/movenc: add missing padding to output track extradata avcodec/pngenc: remove monowhite from apng formats version 3.4.10: avfilter/vf_lenscorrection: make width/height int 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/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 avformat/matroskadec: Use rounded down duration in get_cue_desc() check avformat/avidec: Check height avformat/rmdec: Better duplicate tags check avformat/mov: Disallow empty sidx avformat/matroskadec: Check duration 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() 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/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/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/mxfdec: Check for duplicate mxf_read_index_entry_array() avcodec/apedec: Change avg to uint32_t avformat/mov: Disallow duplicate smdm avformat/mov: Check for EOF in mov_read_glbl() 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 avfilter/vf_gblur: fix heap-buffer overflow avfilter/vf_lenscorrection: fix division by zero avformat/latmenc: abort if no extradata is available avcodec/g729dec: Avoid computing invalid temporary pointers for ff_acelp_weighted_vector_sum() avformat/movenc: Fix segfault when remuxing rtp hint stream avformat/tty: add probe function 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 configure: Add missing libshine->mpegaudioheader dependency version 3.4.9: 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 swscale/alphablend: Fix slice handling avcodec/mxpegdec: Check for AVDISCARD_ALL avcodec/flicvideo: Check remaining bytes in FLI*COPY 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/rmdec: Use 64bit for intermediate for DEINT_ID_INT4 avformat/jacosubdec: Check for min in t overflow in get_shift() avformat/mxfdec: check channel number in mxf_get_d10_aes3_packet() avfilter/scale_npp: fix non-aligned output frame dimensions 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 network: Define ENOTCONN as WSAENOTCONN if not defined avformat/avidec: Use 64bit for frame number in odml index parsing 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/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() avformat/wtvdec: Check for EOF before seeking back in parse_media_type() avformat/wavdec: Use 64bit in new_pos computation avformat/sbgdec: Check for overflow in timestamp preparation avformat/dsicin: Check packet size for overflow 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() 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 swscale/slice: Check slice for allocation failure configure: Fix sem_timedwait probe configure: add missing pthreads dependency to v4l2_m2m avformat/matroskadec: Fix handling of huge default durations avcodec/lpc: check for zero err in normalization in compute_lpc_coefs() avformat/ftp: Check for av_strtok() failure tools/cws2fws: Check read() for failure avcodec/cpia: Fix missing src_size update avcodec/utils: Use 64bit for intermediate in AV_CODEC_ID_ADPCM_THP* duration calculation 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/nutdec: Check tmp_size avformat/msf: Check that channels doesnt overflow during extradata construction avformat/mpc8: Check for position overflow in mpc8_handle_chunk() 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 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 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 avfilter/vf_dctdnoiz: Check threads avfilter/vf_ciescope: Fix undefined behavior in rgb_to_xy() with black 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/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 avformat/cinedec: Fix index_entries size check 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: x/ymax cannot be INT_MAX avformat/avio: Check av_opt_copy() for failure 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 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/wtvdec: Improve size overflow checks in parse_chunks() avcodec/faxcompr: Check remaining bits on error in decode_group3_1d_line() avcodec/utils: Check ima wav duration for overflow avformat/cafdec: Check channels avcodec/dpx: Check bits_per_color earlier avcodec/pnm_parser: Check image size addition for overflow avformat/rmdec: use larger intermediate type for audio_framesize * sub_packet_h check avcodec/h264_slice: Check input SPS in ff_h264_update_thread_context() avcodec/mpegvideo: Update chroma_?_shift in ff_mpv_common_frame_size_change() avformat/mov: Ignore multiple STSC / STCO avformat/utils: Extend overflow check in dts wrap in compute_pkt_fields() avfilter/vf_scale: Fix adding 0 to NULL (which is UB) in scale_slice() avutil/common: Add FF_PTR_ADD() avformat/wtvdec: Check size in SBE2_STREAM_DESC_EVENT / stream2_guid avformat/cafdec: Do not build an index if all packets are the same avcodec/sonic: Use unsigned temporary in predictor_calc_error() avformat/flvdec: Check array entry number avcodec/h264_slice: Check sps in h264_slice_header_init() avformat/movenc: Avoid loosing cluster array on failure avformat/avidec: Check for dv streams before using priv_data in parse ##dc/##wb avformat/mov: Check sample size for overflow in mov_parse_stsd_audio() avcodec/ffwavesynth: Avoid signed integer overflow in phi_at() avcodec/mpeg4videoenc: Check extradata malloc() avcodec/speedhq: Width < 8 is not supported avformat/matroskadec: Check for EOF in resync loop avcodec/utils: Use more bits for intermediate for AV_CODEC_ID_ADPCM_MS avcodec/jpegls: Check A[Q] for overflow in ff_jpegls_update_state_regular() avformat/voc_packet: prevent remaining size from becoming negative in ff_voc_get_packet() avutil/timecode: Avoid fps overflow avformat/mvi: Check audio size for more overflows avcodec/flacdec: Avoid undefined shift in error case avcodec/ffv1dec: Check if trailer is available avcodec/4xm: Check pre_gb in decode_i_block() avcodec/dcadsp: Fix integer overflow in dmix_add_c() avformat/flvdec: Check double before cast in parse_keyframes_index() avformat/paf: Check for EOF before allocation in read_header() avcodec/aacdec_template: Avoid undefined negation in imdct_and_windowing_eld() avformat/lxfdec: Fix multiple integer overflows related to track_size avcodec/exr: skip bottom clearing loop when its outside the image avformat/aiffdec: Check that SSND is at least 8 bytes avformat/dcstr: Check sample rate avcodec/alsdec: Check bitstream input in read_block() avformat/mov: Extend data_size check in mov_read_udta_string() avformat/voc_packet: Add a basic check on max_size avformat/microdvddec: use 64bit for durations 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/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 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 avformat/rmdec: Fix codecdata_length overflow check avcodec/simple_idct: Fix undefined integer overflow in idct4row() avformat/tta: Use 64bit intermediate for index avformat/soxdec: Check channels to be positive 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 avformat/tedcaptionsdec: Check for overflow in parse_int() avformat/nuv: Check channels 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/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/utils: Check dts - (1<