Up to [cvs.NetBSD.org] / pkgsrc / multimedia / ffmpeg2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
ffmpeg2 ffplay2: updated to 2.8.22 2.8.22: avformat/rtsp: Use rtsp_st->stream_index avcodec/jpeg2000dec: Check image offset Update for FFmpeg 2.8.22 avcodec/xvididct: Make c* unsigned to avoid undefined overflows avformat/tmv: Check video chunk size 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/jacosubdec: Check timeres avcodec/escape124: Do not return random numbers 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 avcodec/xvididct: Fix integer overflow in idct_row() avcodec/celp_math: avoid overflow in shift avformat/format: Stop reading data at EOF during probing avcodec/huffyuvdec: avoid undefined behavior with get_vlc2() failure avcodec/mpeg4videodec: more unsigned in amv computation avcodec/tta: fix signed overflow in decorrelate avcodec/xvididct: Fix integer overflow in idct_row() 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: Ignoring errors is only possible before the input end avformat/wavdec: Check that smv block fits in available space avcodec/tak: Check remaining bits in ff_tak_decode_frame_header() avcodec/utils: the IFF_ILBM implementation assumes that there are a multiple of 16 allocated avcodec/pngdec: Do not pass AVFrame into global header decode avcodec/vorbisdec: Check codebook float values to be finite 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/vp3: Check width to avoid assertion failure avcodec/g729postfilter: Limit shift in long term filter configure: update copyright year avcodec/vp3: Add missing check for av_malloc avcodec/escape124: Fix some return codes avcodec/escape124: fix signdness of end of input check Use https for repository links avcodec/motionpixels: Mask pixels to valid values 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/utils: use 32pixel alignment for bink avcodec/012v: Order operations for odd size handling avcodec/eatgq: : Check index increments in tgq_decode_block() avcodec/sunrast: Fix maplength check avcodec/wavpack: Avoid undefined shift in get_tail() avformat/id3v2: Check taglen in read_uslt() 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 avcodec/ffv1dec: Fail earlier if prior context is corrupted
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/ffmpeg2: sync cross-build and powerpc changes from ffmpeg5
ffmpeg[2-6]: Fixes for Darwin/powerpc. - Do not universally --enable-rpath (it might not be supported) - Limit nasm dependency to x86. - Do not enable X11 as a default option. This isn't technically a fix, just a sensemaking improvement. X11 support in ffmpeg is used to capture video from an X display, Darwin users are unlikely to be running an X server as their primary display.
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
ffmpeg2: switch to x264 stable; bump revision
ffmpeg: remove ancient NetBSD hacks that will bite us in the future
ffmpeg2 ffplay2: updated to 2.8.20 version 2.8.20: 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 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_edgedetect: check if height is big enough 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 2.8.19: configure: bump year avcodec/diracdec: avoid signed integer overflow in global mv avcodec/apedec: fix a integer overflow in long_filter_high_3800() avformat/aqtitledec: Skip unrepresentable durations avformat/cafdec: Do not store empty keys in read_info_chunk() 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/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 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: Check for EOF in mov_read_glbl() 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() version 2.8.18: lavf/rawenc: Only accept the appropriate stream type for raw muxers. avformat/icodec: Check for zero streams and stream creation failure avformat/bintext: Check width in idf_read_header() avformat/bintext: Check width configure: update copyright year avformat/wavdec: Check smv_block_size avcodec/apedec: Fix undefined integer overflow in long_filter_ehigh_3830() oavformat/avidec: Check offset in odml 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 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() avcodec/jpeg2000dec: Check that atom header is within bytsetream avcodec/apedec: Fix 2 integer overflows in filter_3800() 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/aiffdec: Check for size overflow in header parsing 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 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 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/mpc8: Check for position overflow in mpc8_handle_chunk() avformat/dxa: Check fps to be within the supported range more precissely 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/ttadata: Add sentinel at the end of ff_tta_shift_1 avformat/rpl: Check for EOF and zero framesize avcodec/svq1enc: Do not print debug RD value before it has been computed avcodec/aacpsy: Check bandwidth avfilter/vf_yadif: Fix handing of tiny images avformat/cinedec: Fix index_entries size check avcodec/lpc: Avoid floating point division by 0 avcodec/aacpsy: Avoid floating point division by 0 of norm_fac avcodec/exr: x/ymax cannot be INT_MAX 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/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/dpx: Check bits_per_color earlier avcodec/pnm_parser: Check image size addition for overflow 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 avformat/movenc: Avoid loosing cluster array on failure avformat/avidec: Check for dv streams before using priv_data in parse ##dc/##wb avcodec/ffwavesynth: Avoid signed integer overflow in phi_at() avcodec/mpeg4videoenc: Check extradata malloc() avcodec/jpegls: Check A[Q] for overflow in ff_jpegls_update_state_regular() avutil/timecode: Avoid fps overflow avformat/mvi: Check audio size for more overflows avcodec/ffv1dec: Check if trailer is available avcodec/4xm: Check pre_gb in decode_i_block() avformat/flvdec: Check double before cast in parse_keyframes_index() avformat/paf: Check for EOF before allocation in read_header() avformat/aiffdec: Check that SSND is at least 8 bytes avcodec/alsdec: Check bitstream input in read_block() avformat/mov: Extend data_size check in mov_read_udta_string() avformat/microdvddec: use 64bit for durations avcodec/hapdec: Change compressed_offset to unsigned 32bit avformat/rmdec: Check codec_length without overflow avformat/nutdec: Check timebase count against main header length avformat/electronicarts: Clear partial_packet on error avcodec/pnm_parser: Check av_image_get_buffer_size() for failure avformat/samidec: Sanity check pts avformat/avidec: Use 64bit in get_duration() 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/4xm: Make audio_frame_count 64bit avcodec/vp9dsp_template: Fix integer overflows in itxfm_wrapper avformat/rmdec: Reorder operations to avoid overflow avcodec/mxpegdec: fix SOF counting avformat/rmdec: Fix codecdata_length overflow check avcodec/simple_idct: Fix undefined integer overflow in idct4row() avformat/tta: Use 64bit intermediate for index 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/tedcaptionsdec: Check for overflow in parse_int() avformat/mpc8: Check size before implicitly converting to int avformat/nutdec: Fix integer overflow in count computation 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<<pts_wrap_bits) overflow avformat/bfi: Check chunk_header avcodec/utils: Check for integer overflow in get_audio_frame_duration() for ADPCM_DTK avformat/mxfdec: Fix integer overflow in next position in mxf_read_local_tags() avformat/avidec: dv does not support palettes libavformat/utils: consider avio_size() failure in ffio_limit() 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/sbgdec: Reduce the amount of floating point in str_to_time() avformat/mxfdec: Free all types for both Descriptors avcodec/wmaprodec: Check packet size avformat/mpegts: Fix argument type for av_log avcodec/ffv1dec: Fix off by 1 error with quant tables avformat/mpegts: Increase pcr_incr width to 64bit avformat/mov: Check if hoov is at the end avcodec/hevc_ps: check scaling_list_dc_coef avformat/matroskadec: Sanity check codec_id/track type avformat/rpl: Check the number of streams avcodec/h264idct_template: Fix integer overflow in ff_h264_chroma422_dc_dequant_idct() 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 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 avcodec/exr: Check ymin vs. h avformat/avs: Use 64bit for the avio_tell() output avformat/wavdec: More complete size check in find_guid() avformat/iff: Check size before skip avformat/rmdec: Check for EOF in index packet reading avformat/sbgdec: Check that end is not before start avformat/lvfdec: Check stream_index before use avformat/mpegts: Limit copied data to space avformat/iff: check size against INT64_MAX avformat/paf: Check for EOF in read_table() avformat/gxf: Check pkt_len avformat/concatdec: use av_strstart() avformat/wavdec: Refuse to read chunks bigger than the filesize in w64_read_header() 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/lrcdec: Clip timestamps avcodec/vp9dsp_template: Fix some overflows in iadst8_1d() avformat/jacosubdec: Use 64bit inside get_shift() avformat/mvi: Check count for overflow avformat/asfdec_f: Check for negative ext_len avformat/bethsoftvid: Check image dimensions before use avformat/segafilm: Check that there is a stream avformat/wtvdec: Check dir_length avcodec/exr: Check limits to avoid overflow in delta computation avformat/asfdec_f: Check name_len for overflow avcodec/h264idct_template: Fix integer overflow in ff_h264_chroma422_dc_dequant_idct() avcodec/aacdec_fixed: Limit index in vector_pow43() avformat/rmdec: sanity check coded_framesize avformat/flvdec: Check for EOF in amf_parse_object() avcodec/smacker: Check remaining bits in SMK_BLK_FULL avcodec/cook: Check subpacket index against max 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/vp9dsp_template: Fix integer overflows in idct16_1d() avcodec/hevcdec: Check slice_cb_qp_offset / slice_cr_qp_offset avformat/subviewerdec: fail on AV_NOPTS_VALUE avcodec/exr: Check xdelta, ydelta 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 avformat/iff: Check data_size not overflowing int64 avcodec/dxtory: Fix negative shift in dx2_decode_slice_410() avcodec/sonic: Check channels before deallocating avcodec/ansi: Check nb_args for overflow avformat/wc3movie: Move wc3_read_close() up avutil/fixed_dsp: Fix integer overflows in butterflies_fixed_c() 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() 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/tiff: Restrict tag order based on specification 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 avcodec/alac: Check decorr_shift to avoid invalid shift avcodec/tdsc: Fix tile checks avformat/mm: Check for existence of audio stream avformat/mov: Fix unaligned read of uint32_t and endian-dependance in mov_read_default
ffmpeg2,ffplay2: updated to 2.8.17 version 2.8.17: 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/pnmdec: Fix misaligned reads avformat/utils: reorder duration computation to avoid overflow avcodec/pngdec: Check for fctl after idat png: split header state and data state in two separate variables. avformat/hls: Pass a copy of the URL for probing avformat/hls: check segment duration value of EXTINF avutil/common: Fix integer overflow in av_ceil_log2_c() avformat/microdvddec: skip malformed lines without frame number. avformat/4xm: Check that a video stream was created before returning packets for it avcodec/ffwavesynth: Avoid undefined operation on ts overflow avcodec/mpeg4videodec: Fix 2 integer overflows in get_amv() avcodec/lossless_audiodsp: Fix undefined overflows in scalarproduct_and_madd_int16_c() avcodec/sonic: Fix several integer overflows avcodec/iff: Fix off by x error avcodec/wmalosslessdec: Check block_align maximum avcodec/loco: Fix signed integer overflow in loco_get_rice() avformat/thp: Check fps avformat/mpl2dec: Fix integer overflow with duration avcodec/mpeg12dec: remove outdated comments avcodec/snowdec: Avoid integer overflow with huge qlog avcodec/mpeg12dec: Fix got_output avformat/4xm: Cleanup on GET_LIST_HEADER() failure avformat/mlvdec: fail reading a packet with 0 streams avformat/thp: Check compcount avcodec/adpcm: XA: Check shift similar to filter avcodec/huffyuvdec: Test vertical coordinate more often avcodec/hq_hqa: Check info size avcodec/wmalosslessdec: Fix integer overflow in mclms_predict() avcodec/vp9dsp_template: Fix integer overflow(s) in iadst16_1d() avcodec/h264dec: Disable forced small_padding on flag2 fast 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() avformat/mpegenc: Fix integer overflow with AV_NOPTS_VALUE avformat/aadec: Check toc_size to contain the minimum to demuxer uses avformat/mov: Don't allow negative sample sizes. mpeg4videoenc: Don't crash with -fsanitize=bounds avcodec/binkaudio: Fix 2Ghz sample_rate avcodec/adpcm: Fix integer overflow in ADPCM THP avcodec/ralf: Check num_blocks before use avcodec/utvideodec: Fix integer overflow in decode_plane() avcodec/ralf: Fix integer overflow in decode_block() avcodec/nuv: widen buf_size type avcodec/g729postfilter: Clip gain before scaling with AGC_FAC1 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/vp9dsp_template: Fix integer overflows in idct32_1d() libavcodec/wmalosslessdec: prevent sum of positive numbers from becoming negative avcodec/txd: Check for input size against the header size. avcodec/svq1dec: Check that there is data left after the header avformat/mov: fix memleaks libavformat/mov: Fix memleaks when demuxing DV audio libavcodec/libvpxenc: Don't free user-provided AVPacket avcodec/libopusenc: Don't free user-provided AVPacket version 2.8.16: - 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/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() - 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 - swscale/output: Fix integer overflow in yuv2rgb_write_full() with out of range input - 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/mpeg12dec: Fix invalid shift in mpeg2_fast_decode_block_intra() - avcodec/mpegaudioenc_template: fix invalid shift of sample - avcodec/motion_est_template: Fix invalid shifts in no_sub_motion_search() - avformat/mpegts: Improve the position determination for avpriv_mpegts_parse_packet() - avformat/mvdec: Check stream numbers - avcodec/pcm: Fix invalid shift in AV_CODEC_ID_PCM_LXF - avcodec/qdm2: Check fft_coefs_index - avformat/avidec: Avoid integer overflow in NI switch check - 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/wmalosslessdec: Fix loop in revert_acfilter() - avcodec/lagarith: Sanity check scale - avcodec/apedec: Fix integer overflows in predictor_decode_mono_3950() - avcodec/ralf: Fix integer overflow in apply_lpc() - avcodec/wmavoice: Fix rounding and integer anomalies in calc_input_response() - 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/apedec: Fix undefined integer overflow in decode_array_0000() - avcodec/smacker: Check space before decoding type - avcodec/iff: Over-allocate ham_palbuf for HAM6 IFF-PBM - 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: Avoid NULL memcpy() - avcodec/wmalosslessdec: move channel check up - 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/ffwavesynth: Fix undefined overflow in wavesynth_synth_sample() - avcodec/cook: Use 3 stage VLC decoding for channel_coupling - 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/wmadec: Keep track of exponent initialization per channel - avcodec/adpcm: Clip predictor for APC - avcodec/targa: Check colors vs. available space - 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/pnm: Check that the header is not truncated - avcodec/mp3_header_decompress_bsf: Check sample_rate_index - avcodec/apedec: Fix 2 integer overflows - avcodec/wmaprodec: Set packet_loss when we error out on a sanity check - avcodec/truemotion2: Fix 2 integer overflows in tm2_low_res_block() - avformat/matroskadec: Fix default value of BlockAddID - avcodec/utils: Check block_align - avcodec/utils: Check sample_rate before opening the decoder - 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() - 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() - 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/apedec: Fixes integer overflow of res+*data in do_apply_filter() - avcodec/sonic: Fix integer overflow in predictor_calc_error() - lavc/tableprint_vlc: Remove avpriv_request_sample() from included files. - avcodec/adpcm: Fix undefined behavior with negative predictions in IMA OKI - avcodec/cook: Move up and extend block_align check - avcodec/twinvq: Check block_align - avcodec/cook: Enlarge gain table - avcodec/atrac3plus: Check split point in fill mode 3 - avcodec/wmavoice: Check sample_rate - avcodec/apedec: Fix integer overflow in filter_3800() - avcodec/ffv1dec: Use a different error message for the slice level CRC - avcodec/apedec: Fix undefined integer overflow in long_filter_ehigh_3830() - avcodec/snowenc: Fix 2 undefined shifts - avformat/nutenc: Do not pass NULL to memcmp() in get_needed_flags() - avcodec/truemotion2: Fix several integer overflows in tm2_low_res_block() - 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/vp5: Check render_x/y - avcodec/ralf: Skip initializing unused filter variables - avformat/pjsdec: Check duration for overflow - 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/g729postfilter: Fix left shift of negative value - avcodec/binkaudio: Check sample rate - avcodec/adpcm: Check initial predictor for ADPCM_IMA_EA_EACS - 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 - avfilter/vf_geq: Use av_clipd() instead of av_clipf() - 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/g2meet: Check for end of input in jpg_decode_block() - avcodec/g2meet: Check if adjusted pixel was on the stack - avcodec/motionpixels: Mark 2 functions as always_inline - 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/atrac3: Check block_align - avcodec/alsdec: Avoid dereferencing context pointer in inner interleave loop - avcodec/g729_parser: Check block_size - avcodec/aacdec: Check if we run out of input in read_stream_mux_config() - avcodec/smacker: Fix integer overflow in signed int multiply in SMK_BLK_FILL - avcodec/alac: fix undefined behavior with INT_MIN in lpc_prediction() - avcodec/ffwavesynth: Fix integer overflow in timestamps - avcodec/sunrast: Fix indention - avcodec/sunrast: Fix return type for "unsupported (compression) type" - avformat/cdxl: Fix integer overflow in intermediate - avcodec/hevcdec: repeat character in skiped - avcodec/alsdec: Check k from being outside what our implementation can handle - avcodec/vp56rac: delay signaling an error on truncated input - avcodec/vp5/6/8: use vpX_rac_is_end() - avcodec/vp56: Add vpX_rac_is_end() to check for the end of input - avcodec/qdm2: Check frame size - 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() - avcodec/ralf: fix undefined shift in extend_code() - avcodec/ralf: fix undefined shift - avcodec/bgmc: Check input space in ff_bgmc_decode_init() - avcodec/truemotion2: Fix multiple integer overflows in tm2_null_res_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/alac: Fix multiple integer overflows in lpc_prediction() - avcodec/rl2: set dimensions - avformat/realtextdec: free queue on error - 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/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/vp56: Consider the alpha start as end of the prior header - avcodec/4xm: Check for end of input in decode_p_block() - avcodec/hnm4video: Optimize postprocess_current_frame() - avcodec/hevc_refs: Optimize 16bit generate_missing_ref() - avcodec/dds: Use ff_set_dimensions() - 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/aacdec_template: fix integer overflow in imdct_and_windowing() - libavcodec/iff: Use unsigned to avoid undefined behaviour - avcodec/alsdec: Check for block_length <= 0 in read_var_block_data() - avcodec/vqavideo: Set video size - avcodec/sanm: Check extradata_size before allocations - avcodec/mss1: check for overread and forward errors - avcodec/dirac_parser: Fix overflow in dts - avcodec/ralf: Fix undefined pointer in decode_channel() - avcodec/ralf: Fix integer overflow in apply_lpc() - avcodec/vorbisdec: Implement vr->classifications = 1 - avcodec/vorbisdec: Check parameters in vorbis_floor0_decode() before divide - avcodec/apedec: Fix 2 signed overflows - avcodec/mss3: Check for the rac stream being invalid in rac_normalize() - avcodec/vc1_block: Check get_vlc2() return before use - avcodec/apedec: Do not partially clear data array - avcodec/hnm4video: Forward errors of decode_interframe_v4() - avcodec/vp3: Check that theora is theora - avcodec/vc1_pred: Fix invalid shift in scaleforsame() - avcodec/vc1_block: Fix integer overflow in ff_vc1_pred_dc() - avcodec/truemotion2: Fix several integer overflows in tm2_motion_block() - avcodec/apedec: make left/right unsigned to avoid undefined behavior - avcodec/apedec: Fix multiple integer overflows and undefined behaviorin filter_3800() - avcodec/eatgv: Check remaining size after the keyframe header - avcodec/assdec: undefined use of memcpy() - avcodec/brenderpix: Check input size before allocating image - lafv/wavdec: Fail bext parsing on incomplete reads - avcodec/vorbisdec: Check vlc for floor0 dec vector offset - avcodec/vorbisdec: amplitude bits can be more than 25 bits - avcodec/apedec: Fix various integer overflows - avcodec/apedec: Fix multiple integer overflows in predictor_update_filter() - avcodec/alsdec: Fix 2 integer overflows - avcodec/flicvideo: Make line_packets int - avcodec/dvbsubdec: Use ff_set_dimensions() - avcodec/ffwavesynth: Check if there is enough extradata before allocation - avcodec/ffwavesynth: More correct cast in wavesynth_seek() - avcodec/ffwavesynth: Check sample rate before use - avformat/utils: Check rfps_duration_sum for overflow - avcodec/parser: Check next index validity in ff_combine_frame() - avcodec/ivi: Ask for samples with odd tiles - avformat/xmv: Make bitrate 64bit - avcodec/pngdec: Check that previous_picture has same w/h/format - avcodec/huffyuv: remove gray8a (the format is listed but not supported by the implementation) - avcodec/mpc8: Fixes invalid shift in mpc8_decode_frame() - 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/vc1_block: Check for vlc error in vc1_decode_ac_coeff() - avcodec/alac: Check lpc_quant - avcodec/alsdec: Add FF_CODEC_CAP_INIT_CLEANUP - avcodec/alsdec: Fix integer overflow with buffer number - 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/apedec: Add k < 24 check to the only k++ case which lacks such a check - avcodec/qdm2: Move fft_order check up - avcodec/libvorbisdec: Check extradata size - avcodec/videodsp_template: Fix overflow of addition - 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/bintext: Check font height - avcodec/binkdsp: Fix integer overflows in idct - 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/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/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 - avcodec/mjpegdec: Check for non ls PAL8 - avcodec/mss4: Check input size against skip bits - 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 - libswcale: Fix possible string overflow in test. - avcodec/hq_hqa: Check available space before reading slice offsets - lavf/webm_chunk: Respect buffer size - avcodec/jvdec: Use ff_get_buffer() when the content is not reused - avcodec/truemotion2: Fix 2 integer overflows in tm2_update_block() - avcodec/aacdec_fixed: Fix undefined shift in noise_scale() - avutil/avstring: Fix bug and undefined behavior in av_strncasecmp() - 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() - avcodec/hevcdec: Avoid only partly skiping duplicate first slices - lavc/bmp: Avoid a heap buffer overwrite for 1bpp input. - avcodec/truemotion2: Fix integer overflow in tm2_null_res_block() - avcodec/dfa: Check the chunk header is not truncated - avcodec/dvbsubdec: Check object position - avcodec/cdgraphics: Use ff_set_dimensions() - avcodec/qpeg: Limit copy in qpeg_decode_intra() to the available bytes - avcodec/aic: Check remaining bits in aic_decode_coeffs() - 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/jvdec: Check available input space before decode8x8() - 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 - avformat/mov.c: 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/fic: Check that there is input left in fic_decode_block() - avutil/mem: Optimize fill32() by unrolling and using 64bit - configure: bump year - avcodec/4xm: Fix returned error codes - 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 - postproc/postprocess_template: Avoid using %4 for the threshold compare - avcodec/mjpegdec: Fix indention of ljpeg_decode_yuv_scan() - lavf/id3v2: fail read_apic on EOF reading mimetype - avformat/nutenc: Document trailer index assert better - lavf/mov: ensure only one tkhd per trak - 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/truemotion2: fix integer overflows in tm2_low_chroma() - avutil/mem: Fix invalid use of av_alloc_size - avcodec/hevcdec: decode at most one slice reporting being the first in the picture - avfilter/af_silenceremove: fix possible crash if supplied duration is negative - avcodec/pngdec: Check compression method - avcodec/shorten: Fix integer overflow with offset - avcodec/cavsdec: Propagate error codes inside decode_mb_i() - avcodec/mpegaudio_parser: Consume more than 0 bytes in case of the unsupported mp3adu case - avformat/flvenc: Check audio packet size - 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 - 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 - avcodec/unary: Improve get_unary() docs - 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/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 - avformat/nsvdec: Do not parse multiple NSVf - avformat/mlvdec: read_string() received unsigned size, make the argument unsigned - avcodec/shorten: Fix integer overflow in residual/LPC combination - avcodec/shorten: Check verbatim length - avcodec/mpegaudio_parser: Initialize poutbuf* - avcodec/qtrle: Check remaining bytestream in qtrle_decode_XYbpp() - avcodec/diracdec: Change frame_number to 64bit as its a 32bit from the bitstream and we also have a -1 special case - 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
ffmpeg2: escape "." in regexp. remove SUBST_NOOP_OK - from rillig
ffmpeg2: SUBST_NOOP_OK.conf=yes If {PKG_SYSCONFDIR} = /etc then this substitution 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g' results in a noop, which is rejected - so allow.
Pullup ticket #6177 - requested by nia multimedia/ffmpeg2: security fix Revisions pulled up: - multimedia/ffmpeg2/Makefile 1.56 - multimedia/ffmpeg2/Makefile.common 1.59 - multimedia/ffmpeg2/distinfo 1.58 --- Module Name: pkgsrc Committed By: nia Date: Thu Apr 23 16:34:21 UTC 2020 Modified Files: pkgsrc/multimedia/ffmpeg2: Makefile Makefile.common distinfo Log Message: ffmpeg2: Very late update to 2.8.15 version 2.8.15: - avcodec/dvdsub_parser: Allocate input padding - avcodec/dvdsub_parser: Init output buf/size - avcodec/imgconvert: fix possible null pointer dereference - swresample/arm: rename labels to fix xcode build error - avformat/utils: fix mixed declarations and code - libwebpenc_animencoder: add missing braces to struct initialization - avformat/movenc: Check input sample count - avcodec/mjpegdec: Check for odd progressive RGB - avformat/movenc: Check that frame_types other than EAC3_FRAME_TYPE_INDEPENDENT have a supported substream id - avformat/mms: Add missing chunksize check - avformat/pva: Check for EOF before retrying in read_part_of_packet() - avcodec/indeo4: Check for end of bitstream in decode_mb_info() - avcodec/shorten: Fix undefined addition in shorten_decode_frame() - avcodec/jpeg2000dec: Fixes invalid shifts in jpeg2000_decode_packets_po_iteration() - avcodec/jpeg2000dec: Check that there are enough bytes for all tiles - 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/mjpegdec: Check for end of bitstream in ljpeg_decode_rgb_scan() - avcodec/aacdec_fixed: Fix undefined integer overflow in apply_independent_coupling_fixed() - 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/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: Sanity check nmeans - 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() - avformat/mov: replace a value error by clipping into valid range in mov_read_stsc() - avformat/mov: Break out early if chunk_count is 0 in mov_build_index() - avcodec/fic: Avoid some magic numbers related to cursors - avcodec/g2meet: ask for sample with overflowing RGB - avcodec/aacdec_fixed: use 64bit to avoid overflow in rounding in apply_dependent_coupling_fixed() - 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. - 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/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/wavpack: Fix integer overflow in DEC_MED() / INC_MED() - 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 - lavf/http.c: Free allocated client URLContext in case of error. - avcodec/dsicinvideo: Fail if there is only a small fraction of the data available that comprises a full frame - avcodec/dsicinvideo: Propagate errors from cin_decode_rle() - avcodec/dfa: Check dimension against maximum - avcodec/cinepak: Skip empty frames - avcodec/cinepak: move some checks prior to frame allocation - swresample/arm: remove unintentional relocation. - doc/APIchanges: Fix typos in hashes - avformat/utils: Check cur_dts in update_initial_timestamps() more - avcodec/utils: Enforce minimum width also for VP5/6 - avcodec/truemotion2: Propagate out of bounds error from GET_TOK() - avcodec/mjpegdec: Check input buffer size. - lavc/libopusdec: Allow avcodec_open2 to call .close - avcodec/movtextdec: Check style_start/end - avcodec/aacsbr_fixed: Fix integer overflow in sbr_hf_assemble() - swresample/swresample: Fix for seg fault in swr_convert_internal() -> sum2_float during dithering. - avcodec/aacdec_fixed: Fix integer overflow in apply_independent_coupling_fixed() - avcodec/cscd: Error out when LZ* decompression fails - avcodec/imgconvert: Fix loss mask bug in avcodec_find_best_pix_fmt_of_list() - avcodec/wmalosslessdec: Fix null pointer dereference in decode_frame() - avcodec/tableprint_vlc: Fix build failure with --enable-hardcoded-tables - avcodec/get_bits: Make sure the input bitstream with padding can be addressed - avformat/mov: Check STSC and remove invalid entries - avcodec/nuv: rtjpeg with dimensions less than 16 would result in no decoded pixels thus reject it - avcodec/nuv: Check for minimum input size for uncomprssed and rtjpeg - avcodec/wmalosslessdec: Reset num_saved_bits on error path - avformat/mov: Fix integer overflows related to sample_duration - avformat/oggparseogm: Check lb against psize - avformat/oggparseogm: Fix undefined shift in ogm_packet() - avformat/avidec: Fix integer overflow in cum_len check - avformat/oggparsetheora: Do not adjust AV_NOPTS_VALUE - avformat/utils: Fix integer overflow of fps_first/last_dts - libavformat/oggparsevorbis: Fix memleak on multiple headers - avcodec/bintext: sanity check dimensions - avcodec/utvideodec: Check subsample factors - avcodec/smc: Check input packet size - avcodec/cavsdec: Check alpha/beta offset - avcodec/diracdec: Fix integer overflow in mv computation - avcodec/jpeg2000dwt: Fix integer overflows in sr_1d53() - avcodec/diracdec: Use int64 in global mv to prevent overflow - avformat/hvcc: zero initialize the nal buffers past the last written byte
ffmpeg2: Very late update to 2.8.15 version 2.8.15: - avcodec/dvdsub_parser: Allocate input padding - avcodec/dvdsub_parser: Init output buf/size - avcodec/imgconvert: fix possible null pointer dereference - swresample/arm: rename labels to fix xcode build error - avformat/utils: fix mixed declarations and code - libwebpenc_animencoder: add missing braces to struct initialization - avformat/movenc: Check input sample count - avcodec/mjpegdec: Check for odd progressive RGB - avformat/movenc: Check that frame_types other than EAC3_FRAME_TYPE_INDEPENDENT have a supported substream id - avformat/mms: Add missing chunksize check - avformat/pva: Check for EOF before retrying in read_part_of_packet() - avcodec/indeo4: Check for end of bitstream in decode_mb_info() - avcodec/shorten: Fix undefined addition in shorten_decode_frame() - avcodec/jpeg2000dec: Fixes invalid shifts in jpeg2000_decode_packets_po_iteration() - avcodec/jpeg2000dec: Check that there are enough bytes for all tiles - 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/mjpegdec: Check for end of bitstream in ljpeg_decode_rgb_scan() - avcodec/aacdec_fixed: Fix undefined integer overflow in apply_independent_coupling_fixed() - 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/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: Sanity check nmeans - 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() - avformat/mov: replace a value error by clipping into valid range in mov_read_stsc() - avformat/mov: Break out early if chunk_count is 0 in mov_build_index() - avcodec/fic: Avoid some magic numbers related to cursors - avcodec/g2meet: ask for sample with overflowing RGB - avcodec/aacdec_fixed: use 64bit to avoid overflow in rounding in apply_dependent_coupling_fixed() - 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. - 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/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/wavpack: Fix integer overflow in DEC_MED() / INC_MED() - 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 - lavf/http.c: Free allocated client URLContext in case of error. - avcodec/dsicinvideo: Fail if there is only a small fraction of the data available that comprises a full frame - avcodec/dsicinvideo: Propagate errors from cin_decode_rle() - avcodec/dfa: Check dimension against maximum - avcodec/cinepak: Skip empty frames - avcodec/cinepak: move some checks prior to frame allocation - swresample/arm: remove unintentional relocation. - doc/APIchanges: Fix typos in hashes - avformat/utils: Check cur_dts in update_initial_timestamps() more - avcodec/utils: Enforce minimum width also for VP5/6 - avcodec/truemotion2: Propagate out of bounds error from GET_TOK() - avcodec/mjpegdec: Check input buffer size. - lavc/libopusdec: Allow avcodec_open2 to call .close - avcodec/movtextdec: Check style_start/end - avcodec/aacsbr_fixed: Fix integer overflow in sbr_hf_assemble() - swresample/swresample: Fix for seg fault in swr_convert_internal() -> sum2_float during dithering. - avcodec/aacdec_fixed: Fix integer overflow in apply_independent_coupling_fixed() - avcodec/cscd: Error out when LZ* decompression fails - avcodec/imgconvert: Fix loss mask bug in avcodec_find_best_pix_fmt_of_list() - avcodec/wmalosslessdec: Fix null pointer dereference in decode_frame() - avcodec/tableprint_vlc: Fix build failure with --enable-hardcoded-tables - avcodec/get_bits: Make sure the input bitstream with padding can be addressed - avformat/mov: Check STSC and remove invalid entries - avcodec/nuv: rtjpeg with dimensions less than 16 would result in no decoded pixels thus reject it - avcodec/nuv: Check for minimum input size for uncomprssed and rtjpeg - avcodec/wmalosslessdec: Reset num_saved_bits on error path - avformat/mov: Fix integer overflows related to sample_duration - avformat/oggparseogm: Check lb against psize - avformat/oggparseogm: Fix undefined shift in ogm_packet() - avformat/avidec: Fix integer overflow in cum_len check - avformat/oggparsetheora: Do not adjust AV_NOPTS_VALUE - avformat/utils: Fix integer overflow of fps_first/last_dts - libavformat/oggparsevorbis: Fix memleak on multiple headers - avcodec/bintext: sanity check dimensions - avcodec/utvideodec: Check subsample factors - avcodec/smc: Check input packet size - avcodec/cavsdec: Check alpha/beta offset - avcodec/diracdec: Fix integer overflow in mv computation - avcodec/jpeg2000dwt: Fix integer overflows in sr_1d53() - avcodec/diracdec: Use int64 in global mv to prevent overflow - avformat/hvcc: zero initialize the nal buffers past the last written byte
multimedia: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
ffmpeg2: add pkg-config to tools, needed by libbluray (default enabled)
*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
ffmpeg2: updated to 2.8.14 version 2.8.14: - avcodec/vp8: Check for bitstream end before vp7_fade_frame() - avcodec/exr: Check remaining bits in last get code loop - avutil/common: Fix integer overflow in av_clip_uint8_c() and av_clip_uint16_c() - avcodec/h264_cabac: Tighten allowed coeff_abs range - avcodec/h264_cavlc: Set valid qscale value in ff_h264_decode_mb_cavlc() - avcodec/vp3: Error out on invalid num_coeffs in unpack_vlcs() - avcodec/mpeg4videodec: Ignore multiple VOL headers - avcodec/vp3: Check eob_run - avcodec/huffyuvdec: Check input buffer size - avcodec/wavpack: Fix integer overflow in FFABS - avcodec/aacsbr_fixed: Fix overflows in rounding in sbr_hf_assemble() - changelog: update with previous commit - x264: Support version 153 - avcodec/indeo5: Do not leave frame_type set to an invalid value - avcodec/hevc_ps: Check log2_sao_offset_scale_* - avcodec/mpeg4videodec: Avoid possibly aliasing violating casts - avcodec/get_bits: Document the return code of get_vlc2() - avcodec/mpeg4videodec: Check mb_num also against 0 - avfilter/vf_transpose: Fix used plane count. - avcodec/hevc_cabac: Check prefix so as to avoid invalid shifts in coeff_abs_level_remaining_decode() - avcodec/mjpegdec: Fix integer overflow in DC dequantization - avcodec/hevc_cabac: Move prefix check in coeff_abs_level_remaining_decode() down - avcodec/truemotion2: Fix integer overflow in TM2_RECALC_BLOCK() - avcodec/snowdec: Fix integer overflow before htaps check - avcodec/ulti: Check number of blocks at init - avcodec/ac3dec_fixed: Fix integer overflow in scale_coefs() - avformat/lrcdec: Fix memory leak in lrc_read_header() - avformat/matroskadec: Fix float-cast-overflow undefined behavior in matroska_parse_tracks() - configure: bump year - avcodec/arm/sbrdsp_neon: Use a free register instead of putting 2 things in one - avcodec/h264addpx_template: Fixes integer overflows - avcodec/dirac_dwt: Fix overflows in COMPOSE_HAARiH0/COMPOSE_HAARiL0 - avcodec/diracdec: Fix integer overflow with quant - avcodec/opus_parser: Check payload_len in parse_opus_ts_header() - avcodec/jpeg2000dsp: Fix integer overflows in ict_int() - avcodec/h264_slice: Do not attempt to render into frames already output - avcodec/exr: Check buf_size more completely - avcodec/flacdec: Fix overflow in multiplication in decode_subframe_fixed() - avcodec/hevcdsp_template: Fix Invalid shifts in put_hevc_qpel_bi_w_h() and put_hevc_qpel_bi_w_w() - avcodec/flacdec: avoid undefined shift - avcodec/hevcdsp_template.c: Fix undefined shift in FUNC(dequant) - avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD97iH0() and COMPOSE_DD137iL0() - avcodec/hevc_cabac: Fix integer overflow in ff_hevc_cu_qp_delta_abs() - avcodec/hevc_sei: Fix integer overflows in decode_nal_sei_message() - avcodec/hevcdsp_template: Fix undefined shift in put_hevc_qpel_bi_w_hv() - libavfilter/af_dcshift.c: Fixed repeated spelling error - avfilter/formats: fix wrong function name in error message - avcodec/amrwbdec: Fix division by 0 in voice_factor() - avcodec/dirac_dwt: Fix integer overflows in COMPOSE_DAUB97* - avcodec/vorbis: Fix another 1 << 31 > int32_t::max() with 1u. - Don't manipulate duration when it's AV_NOPTS_VALUE. - avcodec/vorbis: 1 << 31 > int32_t::max(), so use 1u << 31 instead. - avformat/utils: Prevent undefined shift with wrap_bits > 64. - avcodec/j2kenc: Fix out of array access in encode_cblk() - avcodec/hevcdsp_template: Fix undefined shift in put_hevc_epel_bi_w_h() - avcodec/mlpdsp: Fix signed integer overflow, 2nd try - avcodec/kgv1dec: Check that there is enough input for maximum RLE compression - avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi* - avcodec/mpeg4videodec: Check also for negative versions in the validity check - Close ogg stream upon error when using AV_EF_EXPLODE. - Fix undefined shift on assumed 8-bit input. - avformat/mov: Propagate errors in mov_switch_root. - avcodec/hevcdsp_template: Fix invalid shift in put_hevc_epel_bi_w_v() - avcodec/mlpdsp: Fix undefined shift ff_mlp_pack_output() - avcodec/zmbv: Check that the buffer is large enough for mvec - avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD137iL0() - avcodec/wmv2dec: Check end of bitstream in parse_mb_skip() and ff_wmv2_decode_mb() - avcodec/snowdec: Check for remaining bitstream in decode_blocks() - avcodec/snowdec: Check intra block dc differences. - avformat/mov: Check size of STSC allocation - avcodec/h264dec: Fix potential array overread - avcodec/x86/mpegvideodsp: Fix signedness bug in need_emu - avcodec/aacdec_fixed: Fix undefined shift - avcodec/mdct_*: Fix integer overflow in addition in RESCALE() - avcodec/snowdec: Fix integer overflow in header parsing - avcodec/cngdec: Fix integer clipping - avcodec/sbrdsp_fixed: Fix integer overflow in shift in sbr_hf_g_filt_c() - avutil/softfloat: Add FLOAT_MIN - avcodec/aacsbr_fixed: Fix division by zero in sbr_gain_calc() - avcodec/h264idct_template: Fix integer overflows in ff_h264_idct8_add() - avcodec/xan: Check for bitstream end in xan_huffman_decode() - avformat: Free the internal codec context at the end - avcodec/xan: Improve overlapping check - avcodec/aacdec_fixed: Fix integer overflow in apply_dependent_coupling_fixed() - avcodec/aacdec_fixed: Fix integer overflow in predict() - avcodec/jpeglsdec: Check for end of bitstream in ls_decode_line() - avcodec/jpeglsdec: Check ilv for being a supported value - avcodec/snowdec: Check mv_scale - avcodec/pafvideo: Check for bitstream end in decode_0() - avcodec/ffv1dec: Fix out of array read in slice counting - avcodec/dirac_dwt: Fix integer overflow in COMPOSE_53iL0() - avcodec/mpeg_er: Clear mcsel in mpeg_er_decode_mb() - avcodec/mpeg4videodec: Use 64 bit intermediates for sprite delta - avcodec/truemotion2: Fix integer overflows in tm2_high_chroma() - avcodec/aacdec_template: Clear tns present flag on error - avcodec/proresdec2: SKIP_BITS() does not work with len=32 - avcodec/hevcdsp_template: Fix undefined shift - avcodec/jpeg2000: Check that codsty->log2_prec_widths/heights has been initialized - avcodec/takdec: Fix integer overflow in decode_lpc() - avcodec/proresdec2: Check bits in DECODE_CODEWORD(), fixes invalid shift - avcodec/takdec: Fix integer overflows in decode_subframe() - avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*() - avcodec/ffv1dec: Fix integer overflow in read_quant_table() - avcodec/svq3: Fix overflow in svq3_add_idct_c() - avcodec/pngdec: Clean up on av_frame_ref() failure - avcodec/jpeg2000dsp: Fix multiple integer overflows in ict_int() - avcodec/hevcdsp_template: Fix undefined shift in put_hevc_pel_bi_w_pixels - avcodec/diracdec: Fix overflow in DC computation - avformat/asfdec: Fix DoS in asf_build_simple_index() - avformat/mov: Fix DoS in read_tfra() - avcodec/dirac_dwt: Fix multiple overflows in 9/7 lifting - avformat/libssh: check the user provided a password before trying to use it
ffmpeg*: Spell sunpro correctly.
ffmpeg2: update to 2.8.13. version 2.8.13: - avformat/mxfdec: Fix Sign error in mxf_read_primer_pack() - avformat/mxfdec: Fix DoS issues in mxf_read_index_entry_array() - avformat/nsvdec: Fix DoS due to lack of eof check in nsvs_file_offset loop. - avcodec/snowdec: Fix integer overflow in decode_subband_slice_buffered() - avcodec/hevc_ps: Fix undefined shift in pcm code - avcodec/sbrdsp_fixed: Fix undefined overflows in autocorrelate() - avformat/mvdec: Fix DoS due to lack of eof check - avformat/rl2: Fix DoS due to lack of eof check - avformat/cinedec: Fix DoS due to lack of eof check - avformat/asfdec: Fix DoS due to lack of eof check - avformat/hls: Fix DoS due to infinite loop - ffprobe: Fix NULL pointer handling in color parameter printing - ffprobe: Fix null pointer dereference with color primaries - avcodec/hevc_ps: Check delta_pocs in ff_hevc_decode_short_term_rps() - avformat/aviobuf: Fix signed integer overflow in avio_seek() - avformat/mov: Fix signed integer overflows with total_size - avcodec/aacdec_template: Fix running cleanup in decode_ics_info() - avcodec/me_cmp: Fix crashes on ARM due to misalignment - avcodec/fic: Fixes signed integer overflow - avcodec/snowdec: Fix off by 1 error - avcodec/diracdec: Check perspective_exp and zrs_exp. - avcodec/mpeg4videodec: Clear mcsel before decoding an image - avcodec/dirac_dwt: Fixes integer overflows in COMPOSE_DAUB97* - avcodec/aacdec_fixed: fix invalid shift in predict() - avcodec/h264_slice: Fix overflow in slice offset - avformat/utils: fix memory leak in avformat_free_context - avcodec/dirac_dwt: Fix multiple integer overflows in COMPOSE_DD97iH0() - avcodec/diracdec: Fix integer overflow in divide3() - avcodec/takdec: Fix integer overflow in decode_subframe() - avformat/rtmppkt: Convert ff_amf_get_field_value() to bytestream2 - avformat/rtmppkt: Convert ff_amf_tag_size() to bytestream2 - avcodec/hevc_ps: fix integer overflow in log2_parallel_merge_level_minus2 - avformat/oggparsecelt: Do not re-allocate os->private - avcodec/aacps: Fix multiple integer overflow in map_val_34_to_20() - avcodec/aacdec_fixed: fix: left shift of negative value -1 - doc/filters: typo in frei0r - avcodec/aacdec_template (fixed point): Check gain in decode_cce() to avoid undefined shifts later - avcodec/mjpegdec: Clip DC also on the negative side. - avcodec/aacps (fixed point): Fix multiple signed integer overflows - avcodec/sbrdsp_fixed: Fix integer overflow in sbr_hf_apply_noise() - avcodec/wavpack: Fix invalid shift - avcodec/hevc_ps: Fix integer overflow with beta/tc offsets - avcodec/vb: Check vertical GMC component before multiply - avcodec/jpeg2000dwt: Fix integer overflow in dwt_decode97_int() - avcodec/apedec: Fix integer overflow - avcodec/wavpack: Fix integer overflow in wv_unpack_stereo() - avcodec/mpeg4videodec: Fix GMC with videos of dimension 1 - avcodec/wavpack: Fix integer overflow - avcodec/takdec: Fix integer overflow - avcodec/tiff: Update pointer only when the result is used - avcodec/hevc_filter: Fix invalid shift - avcodec/mpeg4videodec: Fix overflow in virtual_ref computation - avcodec/wavpack: Fix undefined integer negation - avcodec/aacdec_fixed: Check s for being too small - avcodec/h264: Fix mix of lossless and lossy MBs decoding - avcodec/h264_mb: Fix 8x8dct in lossless for new versions of x264 - avcodec/h264_cabac: Fix CABAC+8x8dct in 4:4:4 - avcodec/takdec: Fixes: integer overflow in AV_SAMPLE_FMT_U8P output - avcodec/jpeg2000dsp: Reorder operations in ict_int() to avoid 2 integer overflows - avcodec/hevcpred_template: Fix left shift of negative value - avcodec/hevcdec: Fix signed integer overflow in decode_lt_rps() - avcodec/jpeg2000dec: Check nonzerobits more completely - avcodec/shorten: Sanity check maxnlpc - avcodec/jpeg2000: Fixes integer overflow in ff_jpeg2000_ceildivpow2() - avcodec/hevcdec: Check nb_sps - avcodec/hevc_refs: Check nb_refs in add_candidate_ref() - avcodec/mpeg4videodec: Check sprite delta upshift against overflowing. - avcodec/mpeg4videodec: Fix integer overflow in num_sprite_warping_points=2 case - avcodec/aacsbr_fixed: Check shift in sbr_hf_assemble() - avcodec/sbrdsp_fixed: Return an error from sbr_hf_apply_noise() if operations are impossible - avcodec/jpeg2000dwt: Fix runtime error: left shift of negative value -123 - avcodec/wavpack: Fix runtime error: signed integer overflow: 1886191616 + 277872640 cannot be represented in type 'int' - avcodec/snowdec: Fix runtime error: left shift of negative value -1 - avcodec/aacdec_fixed: Fix runtime error: left shift of negative value -1297616 - avcodec/tiff: Fix leak of geotags[].val - avcodec/ra144: Fix runtime error: signed integer overflow: -2200 * 1033073 cannot be represented in type 'int' - avcodec/flicvideo: Fix runtime error: signed integer overflow: 4864 * 459296 cannot be represented in type 'int' - avcodec/indeo4: Check remaining data in Pic hdr extension parsing code - avcodec/ac3dec_fixed: Fix multiple runtime error: signed integer overflow: -39271008 * 59 cannot be represented in type 'int' - avcodec/mpeg4videodec: Fix runtime error: signed integer overflow: 53098 * 40448 cannot be represented in type 'int' - avcodec/pafvideo: Fix assertion failure - avcodec/takdec: Fix multiple runtime error: signed integer overflow: 637072 * 4096 cannot be represented in type 'int'
version 2.8.12: - avcodec/mjpegdec: Check that reference frame matches the current frame - avcodec/tiff: Avoid loosing allocated geotag values - avcodec/cavs: Fix runtime error: signed integer overflow: -12648062 * 256 cannot be represented in type 'int' - avformat/hls: Check local file extensions - avcodec/qdrw: Fix null pointer dereference - avutil/softfloat: Fix sign error in and improve documentation of av_int2sf() - avcodec/hevc_ps: Fix runtime error: index 32 out of bounds for type 'uint8_t [32]' - avcodec/pafvideo: Check packet size and frame code before ff_reget_buffer() - avcodec/ac3dec_fixed: Fix runtime error: left shift of 419 by 23 places cannot be represented in type 'int' - avcodec/aacps: Fix runtime error: left shift of 1073741824 by 1 places cannot be represented in type 'INTFLOAT' (aka 'int') - avcodec/wavpack: Fix runtime error: shift exponent 32 is too large for 32-bit type 'int' - avcodec/wavpack: Fix runtime error: signed integer overflow: 2013265955 - -134217694 cannot be represented in type 'int' - avcodec/cinepak: Check input packet size before frame reallocation - avcodec/hevc_ps: Fix runtime error: signed integer overflow: 2147483628 + 256 cannot be represented in type 'int' - avcodec/ra144: Fixes runtime error: signed integer overflow: 7160 * 327138 cannot be represented in type 'int' - avcodec/pnm: Use ff_set_dimensions() - avcodec/cavsdec: Fix runtime error: signed integer overflow: 59 + 2147483600 cannot be represented in type 'int' - avformat/avidec: Limit formats in gab2 to srt and ass/ssa - avcodec/acelp_pitch_delay: Fix runtime error: value 4.83233e+39 is outside the range of representable values of type 'float' - avcodec/wavpack: Check float_shift - avcodec/wavpack: Fix runtime error: signed integer overflow: 24 * -2147483648 cannot be represented in type 'int' - avcodec/ansi: Fix frame memleak - avcodec/jpeg2000dec: Use ff_set_dimensions() - avcodec/truemotion2: Fix passing null pointer to memset() - avcodec/truemotion2: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int' - avcodec/ra144: Fix runtime error: signed integer overflow: -2449 * 1398101 cannot be represented in type 'int' - avcodec/ra144: Fix runtime error: signed integer overflow: 11184810 * 404 cannot be represented in type 'int' - avcodec/aac_defines: Add missing () to AAC_HALF_SUM() macro - avcodec/webp: Fixes null pointer dereference - avcodec/aacdec_fixed: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int' - avcodec/snow: Fix runtime error: signed integer overflow: 1086573993 + 1086573994 cannot be represented in type 'int' - avcodec/jpeg2000: Fix runtime error: signed integer overflow: 4185 + 2147483394 cannot be represented in type 'int' - avcodec/jpeg2000dec: Check tile offsets more completely - avcodec/aacdec_fixed: Fix multiple runtime error: shift exponent 127 is too large for 32-bit type 'int' - avcodec/wnv1: More strict buffer size check - avcodec/libfdk-aacdec: Correct buffer_size parameter - avcodec/sbrdsp_template: Fix: runtime error: signed integer overflow: 849815297 + 1315389781 cannot be represented in type 'int' - avcodec/ivi_dsp: Fix runtime error: left shift of negative value -2 - doc/filters: Clarify scale2ref example - avcodec/mlpdec: Do not leave invalid values in matrix_out_ch[] on error - avcodec/ra144dec: Fix runtime error: left shift of negative value -17 - avformat/mux: Fix copy an paste typo - avutil/internal: Do not enable CHECKED with DEBUG more...
version 2.8.11 - avcodec/h264_slice: Clear ref_counts on redundant slices - lavf/mov.c: Avoid heap allocation wrap in mov_read_uuid - lavf/mov.c: Avoid heap allocation wrap in mov_read_hdlr - avcodec/pictordec: Fix logic error - avcodec/movtextdec: Fix decode_styl() cleanup - lavf/matroskadec: fix is_keyframe for early Blocks - configure: bump year - avcodec/pngdec: Check trns more completely - avcodec/interplayvideo: Move parameter change check up - avcodec/mjpegdec: Check for for the bitstream end in mjpeg_decode_scan_progressive_ac() - avformat/flacdec: Check avio_read result when reading flac block header. - avcodec/utils: correct align value for interplay - avcodec/vp56: Check for the bitstream end, pass error codes on - avcodec/mjpegdec: Check remaining bitstream in ljpeg_decode_yuv_scan() - avcodec/pngdec: Fix off by 1 size in decode_zbuf() - avformat/avidec: skip odml master index chunks in avi_sync - avcodec/mjpegdec: Check for rgb before flipping - avutil/random_seed: Reduce the time needed on systems with very low precision clock() - avutil/random_seed: Improve get_generic_seed() with higher precision clock() - avformat/utils: Print verbose error message if stream count exceeds max_streams - avformat/options_table: Set the default maximum number of streams to 1000 - avutil: Add av_image_check_size2() - avformat: Add max_streams option - avcodec/ffv1enc: Allocate smaller packet if the worst case size cannot be allocated - avcodec/mpeg4videodec: Fix undefined shifts in mpeg4_decode_sprite_trajectory() - avformat/oggdec: Skip streams in duration correction that did not had their duration set. - avcodec/ffv1enc: Fix size of first slice - pgssubdec: reset rle_data_len/rle_remaining_len on allocation error
version 2.8.10 - avformat/http: Match chunksize checks to master..3.0 - Changelog: fix typos - ffserver: Check chunk size - Avoid using the term "file" and prefer "url" in some docs and comments - avformat/rtmppkt: Check for packet size mismatches - zmqsend: Initialize ret to 0 - configure: check for strtoull on msvc - http: move chunk handling from http_read_stream() to http_buf_read(). - http: make length/offset-related variables unsigned.
version 2.8.8 - avformat/movenc: Check packet in mov_write_single_packet() too - avformat/movenc: Factor check_pkt() out - avformat/utils: fix timebase error in avformat_seek_file() - avcodec/g726: Add missing ADDB output mask - avcodec/avpacket: clear side_data_elems - avcodec/ccaption_dec: Use simple array instead of AVBuffer - swscale/swscale_unscaled: Try to fix Rgb16ToPlanarRgb16Wrapper() with slices - swscale/swscale_unscaled: Fix packed_16bpc_bswap() with slices - avformat/avidec: Fix infinite loop in avi_read_nikon() - cmdutils: fix implicit declaration of SetDllDirectory function - cmdutils: check for SetDllDirectory() availability - avcodec/aacenc: Tighter input checks - libavcodec/wmalosslessdec: Check the remaining bits - avcodec/diracdec: Check numx/y - avcodec/indeo2: check ctab - avformat/swfdec: Fix inflate() error code check - avcodec/h264: Put context_count check back - cmdutils: remove the current working directory from the DLL search path on win32 - avcodec/raw: Fix decoding of ilacetest.mov - avcodec/ffv1enc: Fix assertion failure with non zero bits per sample - avformat/oggdec: Fix integer overflow with invalid pts - ffplay: Fix invalid array index - avcodec/vp9_parser: Check the input frame sizes for being consistent - libavformat/rtpdec_asf: zero initialize the AVIOContext struct - libavutil/opt: Small bugfix in example. - libx264: Increase x264 opts character limit to 4096 - avformat/mov: Check sample size - avformat/format: Fix registering a format more than once and related races - avcodec/flac_parser: Raise threshold for detecting invalid data - avfilter/vf_telecine: Make frame writable before writing into it - avcodec/mpc8: Correct end truncation - avcodec/mpegvideo: Do not clear the parse context during init - MAINTAINERs cleanup (remove myself from things i de facto dont maintain) - avcodec/h264: Fix off by 1 context count - avcodec/alsdec: Check r to prevent out of array read - avcodec/alsdec: fix max bits in ltp prefix code - avcodec/utils: check skip_samples signedness - avformat/mpegts: Do not trust BSSD descriptor, it is sometimes not an S302M stream - avcodec/bmp_parser: Check fsize - avcodec/bmp_parser: reset state - avcodec/bmp_parser: Fix remaining size - avcodec/bmp_parser: Fix frame_start_found in cross frame cases - avfilter/af_amix: dont fail if there are no samples in output_frame() - avformat/allformats: Making av_register_all() thread-safe. - avcodec/mpegvideo: Deallocate last/next picture earlier - avcodec/bmp_parser: Fix state - avformat/oggparseopus: Fix Undefined behavior in oggparseopus.c and libavformat/utils.c - doc/developer.texi: Add a code of conduct - avformat/avidec: Detect index with too short entries - avformat/utils: Check negative bps before shifting in ff_get_pcm_codec_id() - avformat/utils: Do not compute the bitrate from duration == 0 - ffmpeg: Check that r_frame_rate is set before attempting to use it - swresample/rematrix: Use clipping s16 rematrixing if overflows are possible - swresample/rematrix: Use error diffusion to avoid error in the DC component of the matrix - libavformat/oggdec: Free stream private when header parsing fails. - avformat/utils: Check bps before using it in a shift in ff_get_pcm_codec_id() - avformat/oggparseopus: Check that granule pos is within the supported range - avcodec/mjpegdec: Do not try to detect last scan but apply idct after all scans for progressive jpeg - avformat/options_table: Add missing identifier for very strict compliance - librtmp: Avoid an infiniloop setting connection arguments - avformat/oggparsevp8: fix pts calculation on pages ending with an invisible frame
Add a new "doc" option to install multimedia/ffmpeg[23] HTML documentation, disabled by default. Fix PR pkg/51113 reported by Joern Clausen. ffmpeg needs texi2html features that can be not available in the version provided natively by the platform. While here also add a PRINT_PLIST_AWK to automa{g,t}ically print a PLIST that need less manual intervention. Bump PKGREVISION.
version 2.8.7 - avcodec/motion_est: Attempt to fix "short data segment overflowed" on IA64 - avformat/ffmdec: Check pix_fmt - avcodec/ttaenc: Reallocate packet if its too small - pgssubdec: fix subpicture output colorspace and range - avcodec/ac3dec: Reset SPX when switching from EAC3 to AC3 - avfilter/vf_drawtext: Check return code of load_glyph() - avcodec/takdec: add code that got somehow lost in process of REing - avcodec/apedec: fix decoding of stereo files with one channel full of silence - avcodec/avpacket: Fix off by 5 error - avcodec/h264: Fix for H.264 configuration parsing - avcodec/bmp_parser: Ensure remaining_size is not too small in startcode packet crossing corner case - avfilter/src_movie: fix how we check for overflows with seek_point - avcodec/j2kenc: Add attribution to OpenJPEG project: - avcodec/h264_slice: Check PPS more extensively when its not copied - avcodec/libutvideodec: copy frame so it has reference counters when refcounted_frames is set - avformat/rtpdec_jpeg: fix low contrast image on low quality setting - avcodec/mjpegenc_common: Store approximate aspect if exact cannot be stored - lavc/hevc: Allow arbitrary garbage in bytestream as long as at least one NAL unit is found. - avcodec/resample: Remove disabled and faulty code - indeo2: Fix banding artefacts - indeo2data: K&R formatting cosmetics - avcodec/imgconvert: Support non-planar colorspaces while padding - avutil/random_seed: Add the runtime in cycles of the main loop to the entropy pool - avutil/channel_layout: AV_CH_LAYOUT_6POINT1_BACK not reachable in parsing - avformat/concatdec: set safe mode to enabled instead of auto - avformat/utils: fix dts from pts code in compute_pkt_fields() during ascending delay - avformat/rtpenc: Fix integer overflow in NTP_TO_RTP_FORMAT - avformat/cache: Fix memleak of tree entries - lavf/mov: downgrade sidx errors to non-fatal warnings; fixes trac 5216 (cherry picked from commit 22dbc1caaf13e4bb17c9e0164a5b1ccaf490e428) - lavf/mov: fix sidx with edit lists (cherry picked from commit 3617e69d50dd9dd07b5011dfb9477a9d1a630354) - avcodec/mjpegdec: Fix decoding slightly odd progressive jpeg - libwebpenc_animencoder: print library messages in verbose log levels - libwebpenc_animencoder: zero initialize the WebPAnimEncoderOptions struct - doc/utils: fix typo for min() description - avcodec/avpacket: clear priv in av_init_packet() - swscale/utils: Fix chrSrcHSubSample for GBRAP16 - swscale/input: Fix GBRAP16 input - postproc: fix unaligned access - avutil/pixdesc: Make get_color_type() aware of CIE XYZ formats - avcodec/h264: Execute error concealment before marking the frame as done. - swscale/x86/output: Fix yuv2planeX_16* with unaligned destination - swscale/x86/output: Move code into yuv2planeX_mainloop - avutil/frame: Free destination qp_table_buf in frame_copy_props()
Also install man pages and HTML documentation. Prior to this change all USE_TOOLS were already present except "perl". That blocked the generation of both man pages and HTML documentation. Also handle the append of configure's --progs-suffix number to address coexistence of multiple ffmpeg versions man pages (done via patch-doc_Makefile). Bump PKGREVISION.
Explicitly pull in archivers/xz, ffmpeg goes looking for it and if it's already installed will fail during install as a missing runtime dependency. Bump PKGREVISION.
version 2.8.6 - avcodec/jpeg2000dec: More completely check cdef - avutil/opt: check for and handle errors in av_opt_set_dict2() - avcodec/flacenc: fix calculation of bits required in case of custom sample rate - avformat: Document urls a bit - avformat/libquvi: Set default demuxer and protocol limitations - avformat/concat: Check protocol prefix - doc/demuxers: Document enable_drefs and use_absolute_path - avcodec/mjpegdec: Check for end for both bytes in unescaping - avcodec/mpegvideo_enc: Check for integer overflow in ff_mpv_reallocate_putbitbuffer() - avformat/avformat: Replace some references to filenames by urls - avcodec/wmaenc: Check ff_wma_init() for failure - avcodec/mpeg12enc: Move high resolution thread check to before initializing threads - avformat/img2dec: Use AVOpenCallback - avformat/avio: Limit url option parsing to the documented cases - avformat/img2dec: do not interpret the filename by default if a IO context has been opened - avcodec/ass_split: Fix null pointer dereference in ff_ass_style_get() - mov: Add an option to toggle dref opening - avcodec/gif: Fix lzw buffer size - avcodec/put_bits: Assert buf_ptr in flush_put_bits() - avcodec/tiff: Check subsample & rps values more completely - swscale/swscale: Add some sanity checks for srcSlice* parameters - swscale/x86/rgb2rgb_template: Fix planar2x() for short width - swscale/swscale_unscaled: Fix odd height inputs for bayer_to_yv12_wrapper() - swscale/swscale_unscaled: Fix odd height inputs for bayer_to_rgb24_wrapper() - avcodec/aacenc: Check both channels for finiteness - asfdec_o: check for too small size in asf_read_unknown - asfdec_o: break if EOF is reached after asf_read_packet_header - asfdec_o: make sure packet_size is non-zero before seeking - asfdec_o: prevent overflow causing seekback - asfdec_o: check avio_skip in asf_read_simple_index - asfdec_o: reject size > INT64_MAX in asf_read_unknown - asfdec_o: only set asf_pkt->data_size after sanity checks - Merge commit '8375dc1dd101d51baa430f34c0bcadfa37873896' - dca: fix misaligned access in avpriv_dca_convert_bitstream - brstm: fix missing closing brace - brstm: also allocate b->table in read_packet - brstm: make sure an ADPC chunk was read for adpcm_thp - vorbisdec: reject rangebits 0 with non-0 partitions - vorbisdec: reject channel mapping with less than two channels - ffmdec: reset packet_end in case of failure - avformat/ipmovie: put video decoding_map_size into packet and use it in decoder - avformat/brstm: fix overflow
Update multimedia/ffmpeg2 to 2.8.5. Changes: version 2.8.5 - avformat/hls: Even stricter URL checks - avformat/hls: More strict url checks - avcodec/pngenc: Fix mixed up linesizes - avcodec/pngenc: Replace memcpy by av_image_copy() - swscale/vscale: Check that 2 tap filters are bilinear before using bilinear code - swscale: Move VScalerContext into vscale.c - swscale/utils: Detect and skip unneeded sws_setColorspaceDetails() calls - swscale/yuv2rgb: Increase YUV2RGB table headroom - swscale/yuv2rgb: Factor YUVRGB_TABLE_LUMA_HEADROOM out - avformat/hls: forbid all protocols except http(s) & file - avformat/aviobuf: Fix end check in put_str16() - avformat/asfenc: Check pts - avcodec/mpeg4video: Check time_incr - avcodec/wavpackenc: Check the number of channels - avcodec/wavpackenc: Headers are per channel - avcodec/aacdec_template: Check id_map - avcodec/dvdec: Fix "left shift of negative value -254" - avcodec/g2meet: Check for ff_els_decode_bit() failure in epic_decode_run_length() - avcodec/mjpegdec: Fix negative shift - avcodec/mss2: Check for repeat overflow - avformat: Add integer fps from 31 to 60 to get_std_framerate() - avformat/ivfenc: fix division by zero - avcodec/mpegvideo_enc: Clip bits_per_raw_sample within valid range - avfilter/vf_scale: set proper out frame color range - avcodec/motion_est: Fix mv_penalty table size - avcodec/h264_slice: Fix integer overflow in implicit weight computation - swscale/utils: Use normal bilinear scaler if fast cannot be used due to tiny dimensions - avcodec/put_bits: Always check buffer end before writing - mjpegdec: extend check for incompatible values of s->rgb and s->ls - swscale/utils: Fix intermediate format for cascaded alpha downscaling - avformat/mov: Update handbrake_version threshold for full mp3 parsing - x86/float_dsp: zero extend offset from ff_scalarproduct_float_sse - avfilter/vf_zoompan: do not free frame we pushed to lavfi - nuv: sanitize negative fps rate - nutdec: reject negative value_len in read_sm_data - xwddec: prevent overflow of lsize * avctx->height - nutdec: only copy the header if it exists - exr: fix out of bounds read in get_code - on2avc: limit number of bits to 30 in get_egolomb
Pullup ticket #4882 - requested by sevan multimedia/ffmpeg2: security fix Revisions pulled up: - multimedia/ffmpeg2/Makefile.common 1.41 - multimedia/ffmpeg2/distinfo 1.43 - multimedia/ffmpeg2/patches/patch-libavcodec_libvpxenc.c deleted --- Module Name: pkgsrc Committed By: wiz Date: Sun Dec 27 21:45:56 UTC 2015 Modified Files: pkgsrc/multimedia/ffmpeg2: Makefile.common distinfo Removed Files: pkgsrc/multimedia/ffmpeg2/patches: patch-libavcodec_libvpxenc.c Log Message: Update ffmpeg2 to 2.8.4. version 2.8.4 - rawdec: only exempt BIT0 with need_copy from buffer sanity check - mlvdec: check that index_entries exist - avcodec/mpeg4videodec: also for empty partitioned slices - avcodec/h264_refs: Fix long_idx check - avcodec/h264_mc_template: prefetch list1 only if it is used in the MB - avcodec/h264_slice: Simplify ref2frm indexing - avfilter/vf_mpdecimate: Add missing emms_c() - sonic: make sure num_taps * channels is not larger than frame_size - opus_silk: fix typo causing overflow in silk_stabilize_lsf - ffm: reject invalid codec_id and codec_type - golomb: always check for invalid UE golomb codes in get_ue_golomb - sbr_qmf_analysis: sanitize input for 32-bit imdct - sbrdsp_fixed: assert that input values are in the valid range - aacsbr: ensure strictly monotone time borders - aacenc: update max_sfb when num_swb changes - aaccoder: prevent crash of anmr coder - ffmdec: reject zero-sized chunks - swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE* - swscale/x86/rgb2rgb_template: Do not crash on misaligend stride - avformat/mxfenc: Do not crash if there is no packet in the first stream - lavf/tee: fix side data double free. - avformat/hlsenc: Check the return code of avformat_write_header() - avformat/mov: Enable parser for mp3s by old HandBrake - avformat/mxfenc: Fix integer overflow in length computation - avformat/utils: estimate_timings_from_pts - increase retry counter, fixes invalid duration for ts files with hevc codec - avformat/matroskaenc: Check codecdelay before use - avutil/mathematics: Fix division by 0 - mjpegdec: consider chroma subsampling in size check - libvpxenc: remove some unused ctrl id mappings - avcodec/vp3: ensure header is parsed successfully before tables - avcodec/jpeg2000dec: Check bpno in decode_cblk() - avcodec/pgssubdec: Fix left shift of 255 by 24 places cannot be represented in type int - swscale/utils: Fix for runtime error: left shift of negative value -1 - avcodec/hevc: Fix integer overflow of entry_point_offset - avcodec/dirac_parser: Check that there is a previous PU before accessing it - avcodec/dirac_parser: Add basic validity checks for next_pu_offset and prev_pu_offset - avcodec/dirac_parser: Fix potential overflows in pointer checks - avcodec/wmaprodec: Check bits per sample to be within the range not causing integer overflows - avcodec/wmaprodec: Fix overflow of cutoff - avformat/smacker: fix integer overflow with pts_inc - avcodec/vp3: Fix "runtime error: left shift of negative value" - avformat/riffdec: Initialize bitrate - mpegencts: Fix overflow in cbr mode period calculations - avutil/timecode: Fix fps check - avutil/mathematics: return INT64_MIN (=AV_NOPTS_VALUE) from av_rescale_rnd() for overflows - avcodec/apedec: Check length in long_filter_high_3800() - avcodec/vp3: always set pix_fmt in theora_decode_header() - avcodec/mpeg4videodec: Check available data before reading custom matrix - avutil/mathematics: Do not treat INT64_MIN as positive in av_rescale_rnd - avutil/integer: Fix av_mod_i() with negative dividend - avformat/dump: Fix integer overflow in av_dump_format() - avcodec/h264_refs: Check that long references match before use - avcodec/utils: Clear dimensions in ff_get_buffer() on failure - avcodec/utils: Use 64bit for aspect ratio calculation in avcodec_string() - avcodec/hevc: Check max ctb addresses for WPP - avcodec/vp3: Clear context on reinitialization failure - avcodec/hevc: allocate entries unconditionally - avcodec/hevc_cabac: Fix multiple integer overflows - avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_encode*() - avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_decode*() - avcodec/hevc: Check entry_point_offsets - lavf/rtpenc_jpeg: Less strict check for standard Huffman tables. - avcodec/ffv1dec: Clear quant_table_count if its invalid - avcodec/ffv1dec: Print an error if the quant table count is invalid - doc/filters/drawtext: fix centering example
Switch to .tar.xz
Update ffmpeg2 to 2.8.4. version 2.8.4 - rawdec: only exempt BIT0 with need_copy from buffer sanity check - mlvdec: check that index_entries exist - avcodec/mpeg4videodec: also for empty partitioned slices - avcodec/h264_refs: Fix long_idx check - avcodec/h264_mc_template: prefetch list1 only if it is used in the MB - avcodec/h264_slice: Simplify ref2frm indexing - avfilter/vf_mpdecimate: Add missing emms_c() - sonic: make sure num_taps * channels is not larger than frame_size - opus_silk: fix typo causing overflow in silk_stabilize_lsf - ffm: reject invalid codec_id and codec_type - golomb: always check for invalid UE golomb codes in get_ue_golomb - sbr_qmf_analysis: sanitize input for 32-bit imdct - sbrdsp_fixed: assert that input values are in the valid range - aacsbr: ensure strictly monotone time borders - aacenc: update max_sfb when num_swb changes - aaccoder: prevent crash of anmr coder - ffmdec: reject zero-sized chunks - swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE* - swscale/x86/rgb2rgb_template: Do not crash on misaligend stride - avformat/mxfenc: Do not crash if there is no packet in the first stream - lavf/tee: fix side data double free. - avformat/hlsenc: Check the return code of avformat_write_header() - avformat/mov: Enable parser for mp3s by old HandBrake - avformat/mxfenc: Fix integer overflow in length computation - avformat/utils: estimate_timings_from_pts - increase retry counter, fixes invalid duration for ts files with hevc codec - avformat/matroskaenc: Check codecdelay before use - avutil/mathematics: Fix division by 0 - mjpegdec: consider chroma subsampling in size check - libvpxenc: remove some unused ctrl id mappings - avcodec/vp3: ensure header is parsed successfully before tables - avcodec/jpeg2000dec: Check bpno in decode_cblk() - avcodec/pgssubdec: Fix left shift of 255 by 24 places cannot be represented in type int - swscale/utils: Fix for runtime error: left shift of negative value -1 - avcodec/hevc: Fix integer overflow of entry_point_offset - avcodec/dirac_parser: Check that there is a previous PU before accessing it - avcodec/dirac_parser: Add basic validity checks for next_pu_offset and prev_pu_offset - avcodec/dirac_parser: Fix potential overflows in pointer checks - avcodec/wmaprodec: Check bits per sample to be within the range not causing integer overflows - avcodec/wmaprodec: Fix overflow of cutoff - avformat/smacker: fix integer overflow with pts_inc - avcodec/vp3: Fix "runtime error: left shift of negative value" - avformat/riffdec: Initialize bitrate - mpegencts: Fix overflow in cbr mode period calculations - avutil/timecode: Fix fps check - avutil/mathematics: return INT64_MIN (=AV_NOPTS_VALUE) from av_rescale_rnd() for overflows - avcodec/apedec: Check length in long_filter_high_3800() - avcodec/vp3: always set pix_fmt in theora_decode_header() - avcodec/mpeg4videodec: Check available data before reading custom matrix - avutil/mathematics: Do not treat INT64_MIN as positive in av_rescale_rnd - avutil/integer: Fix av_mod_i() with negative dividend - avformat/dump: Fix integer overflow in av_dump_format() - avcodec/h264_refs: Check that long references match before use - avcodec/utils: Clear dimensions in ff_get_buffer() on failure - avcodec/utils: Use 64bit for aspect ratio calculation in avcodec_string() - avcodec/hevc: Check max ctb addresses for WPP - avcodec/vp3: Clear context on reinitialization failure - avcodec/hevc: allocate entries unconditionally - avcodec/hevc_cabac: Fix multiple integer overflows - avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_encode*() - avcodec/jpeg2000dwt: Check ndeclevels before calling dwt_decode*() - avcodec/hevc: Check entry_point_offsets - lavf/rtpenc_jpeg: Less strict check for standard Huffman tables. - avcodec/ffv1dec: Clear quant_table_count if its invalid - avcodec/ffv1dec: Print an error if the quant table count is invalid - doc/filters/drawtext: fix centering example
version 2.8.3 - avcodec/cabac: Check initial cabac decoder state - avcodec/cabac_functions: Fix "left shift of negative value -31767" - avcodec/h264_slice: Limit max_contexts when slice_context_count is initialized - rtmpcrypt: Do the xtea decryption in little endian mode - avformat/matroskadec: Check subtitle stream before dereferencing - avcodec/pngdec: Replace assert by request for sample for unsupported TRNS cases - avformat/utils: Do not init parser if probing is unfinished - avcodec/jpeg2000dec: Fix potential integer overflow with tile dimensions - avcodec/jpeg2000: Use av_image_check_size() in ff_jpeg2000_init_component() - avcodec/wmaprodec: Check for overread in decode_packet() - avcodec/smacker: Check that the data size is a multiple of a sample vector - avcodec/takdec: Skip last p2 sample (which is unused) - avcodec/dxtory: Fix input size check in dxtory_decode_v1_410() - avcodec/dxtory: Fix input size check in dxtory_decode_v1_420() - avcodec/error_resilience: avoid accessing previous or next frames tables beyond height - avcodec/dpx: Move need_align to act per line - avcodec/flashsv: Check size before updating it - avcodec/ivi: Check image dimensions - avcodec/utils: Better check for channels in av_get_audio_frame_duration() - avcodec/jpeg2000dec: Check for duplicate SIZ marker - aacsbr: don't call sbr_dequant twice without intermediate read_sbr_data - hqx: correct type and size check of info_offset - mxfdec: check edit_rate also for physical_track - avcodec/jpeg2000: Change coord to 32bit to support larger than 32k width or height - avcodec/jpeg2000dec: Check SIZ dimensions to be within the supported range - avcodec/jpeg2000: Check comp coords to be within the supported size - mpegvideo: clear overread in clear_context - avcodec/avrndec: Use the AVFrame format instead of the context - dds: disable palette flag for compressed images - dds: validate compressed source buffer size - dds: validate source buffer size before copying - dvdsubdec: validate offset2 similar to offset1 - brstm: reject negative sample rate - aacps: avoid division by zero in stereo_processing - softfloat: assert when the argument of av_sqrt_sf is negative
version 2.8.2 - various fixes in the aac_fixed decoder - various fixes in softfloat - swresample/resample: increase precision for compensation - lavf/mov: add support for sidx fragment indexes - avformat/mxfenc: Only store user comment related tags when needed - tests/fate/avformat: Fix fate-lavf - doc/ffmpeg: Clarify that the sdp_file option requires an rtp output. - ffmpeg: Don't try and write sdp info if none of the outputs had an rtp format. - apng: use correct size for output buffer - jvdec: avoid unsigned overflow in comparison - avcodec/jpeg2000dec: Clip all tile coordinates - avcodec/microdvddec: Check for string end in 'P' case - avcodec/dirac_parser: Fix undefined memcpy() use - avformat/xmv: Discard remainder of packet on error - avformat/xmv: factor return check out of if/else - avcodec/mpeg12dec: Do not call show_bits() with invalid bits - avcodec/faxcompr: Add missing runs check in decode_uncompressed() - libavutil/channel_layout: Check strtol*() for failure - avformat/mpegts: Only start probing data streams within probe_packets - avcodec/hevc_ps: Check chroma_format_idc - avcodec/ffv1dec: Check for 0 quant tables - avcodec/mjpegdec: Reinitialize IDCT on BPP changes - avcodec/mjpegdec: Check index in ljpeg_decode_yuv_scan() before using it - avutil/file_open: avoid file handle inheritance on Windows - avcodec/h264_slice: Disable slice threads if there are multiple access units in a packet - avformat/hls: update cookies on setcookie response - opusdec: Don't run vector_fmul_scalar on zero length arrays - avcodec/opusdec: Fix extra samples read index - avcodec/ffv1: Initialize vlc_state on allocation - avcodec/ffv1dec: update progress in case of broken pointer chains - avcodec/ffv1dec: Clear slice coordinates if they are invalid or slice header decoding fails for other reasons - rtsp: Allow $ as interleaved packet indicator before a complete response header - videodsp: don't overread edges in vfix3 emu_edge. - avformat/mp3dec: improve junk skipping heuristic - concatdec: fix file_start_time calculation regression - avcodec: loongson optimize h264dsp idct and loop filter with mmi - avcodec/jpeg2000dec: Clear properties in jpeg2000_dec_cleanup() too - avformat/hls: add support for EXT-X-MAP - avformat/hls: fix segment selection regression on track changes of live streams - configure: Require libkvazaar < 0.7. - avcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup
version 2.8.1: - swscale: fix ticket 4881 - doc: fix spelling errors - hls: only seek if there is an offset - asfdec: add more checks for size left in asf packet buffer - asfdec: alloc enough space for storing name in asf_read_metadata_obj - avcodec/pngdec: Check blend_op. - h264_mp4toannexb: fix pps offfset fault when there are more than one sps in avcc - avcodec/h264_mp4toannexb_bsf: Use av_freep() to free spspps_buf - avformat/avidec: Workaround broken initial frame - avformat/hls: fix some cases of HLS streams which require cookies - avcodec/pngdec: reset has_trns after every decode_frame_png() - lavf/img2dec: Fix memory leak - avcodec/mp3: fix skipping zeros - avformat/srtdec: make sure we probe a number - configure: check for ID3D11VideoContext - avformat/vobsub: compare correct packet stream IDs - avformat/srtdec: more lenient first line probing - avformat/srtdec: fix number check for the first character - avcodec/mips: build fix for MSA 64bit - avcodec/mips: build fix for MSA - avformat/httpauth: Add space after commas in HTTP/RTSP auth header - libavformat/hlsenc: Use of uninitialized memory unlinking old files - avcodec/x86/sbrdsp: Fix using uninitialized upper 32bit of noise - avcodec/ffv1dec: Fix off by 1 error in quant_table_count check - avcodec/ffv1dec: Explicitly check read_quant_table() return value - dnxhddata: correct weight tables - dnxhddec: decode and use interlace mb flag - swscale: fix ticket 4877 - avcodec/rangecoder: Check e - avcodec/ffv1: seperate slice_count from max_slice_count - swscale: fix ticket 4850 - cmdutils: Filter dst/srcw/h - avutil/log: fix zero length gnu_printf format string warning - lavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream. - swscale/swscale: Fix "unused variable" warning - avcodec/mjpegdec: Fix decoding RGBA RCT LJPEG - MAINTAINERS: add 2.8, drop 2.2 - doc: mention libavcodec can decode Opus natively - hevc: properly handle no_rasl_output_flag when removing pictures from the DPB - avfilter/af_ladspa: process all channels for nb_handles > 1 - configure: add libsoxr to swresample's pkgconfig - lavc: Fix compilation with --disable-everything --enable-parser=mpeg4video.
version 2.8: - colorkey video filter - BFSTM/BCSTM demuxer - little-endian ADPCM_THP decoder - Hap decoder and encoder - DirectDraw Surface image/texture decoder - ssim filter - optional new ASF demuxer - showvolume filter - Many improvements to the JPEG 2000 decoder - Go2Meeting decoding support - adrawgraph audio and drawgraph video filter - removegrain video filter - Intel QSV-accelerated MPEG-2 video and HEVC encoding - Intel QSV-accelerated MPEG-2 video and HEVC decoding - Intel QSV-accelerated VC-1 video decoding - libkvazaar HEVC encoder - erosion, dilation, deflate and inflate video filters - Dynamic Audio Normalizer as dynaudnorm filter - Reverse video and areverse audio filter - Random filter - deband filter - AAC fixed-point decoding - sidechaincompress audio filter - bitstream filter for converting HEVC from MP4 to Annex B - acrossfade audio filter - allyuv and allrgb video sources - atadenoise video filter - OS X VideoToolbox support - aphasemeter filter - showfreqs filter - vectorscope filter - waveform filter - hstack and vstack filter - Support DNx100 (1440x1080@8) - VAAPI hevc hwaccel - VDPAU hevc hwaccel - framerate filter - Switched default encoders for webm to VP9 and Opus - Removed experimental flag from the JPEG 2000 encoder
version 2.7.2: - imc: use correct position for flcoeffs2 calculation - hevc: check slice address length - snow: remove an obsolete av_assert2 - webp: fix infinite loop in webp_decode_frame - wavpack: limit extra_bits to 32 and use get_bits_long - ffmpeg: only count got_output/errors in decode_error_stat - ffmpeg: exit_on_error if decoding a packet failed - pthread_frame: forward error codes when flushing - huffyuvdec: validate image size - wavpack: use get_bits_long to read up to 32 bits - nutdec: check maxpos in read_sm_data before returning success - s302m: fix arithmetic exception - vc1dec: use get_bits_long and limit the read bits to 32 - mpegaudiodec: copy AVFloatDSPContext from first context to all contexts - avcodec/vp8: Check buffer size in vp8_decode_frame_header() - avcodec/vp8: Fix null pointer dereference in ff_vp8_decode_free() - avcodec/diracdec: Check for hpel_base allocation failure - avcodec/rv34: Clear pointers in ff_rv34_decode_init_thread_copy() - avfilter/af_aresample: Check ff_all_* for allocation failures - avcodec/pthread_frame: clear priv_data, avoid stale pointer in error case - swscale/utils: Clear pix buffers - avutil/fifo: Fix the case where func() returns less bytes than requested in av_fifo_generic_write() - ffmpeg: Fix cleanup after failed allocation of output_files - avformat/mov: Fix deallocation when MOVStreamContext failed to allocate - ffmpeg: Fix crash with ost->last_frame allocation failure - ffmpeg: Fix cleanup with ost = NULL - avcodec/pthread_frame: check avctx on deallocation - avcodec/sanm: Reset sizes in destroy_buffers() - avcodec/alac: Clear pointers in allocate_buffers() - bytestream2: set the reader to the end when reading more than available - avcodec/utils: use a minimum 32pixel width in avcodec_align_dimensions2() for H.264 - avcodec/mpegvideo: Clear pointers in ff_mpv_common_init() - oggparsedirac: check return value of init_get_bits - wmalosslessdec: reset frame->nb_samples on packet loss - wmalosslessdec: avoid reading 0 bits with get_bits - Put a space between string literals and macros. - avcodec/rawenc: Use ff_alloc_packet() instead of ff_alloc_packet2() - avcodec/aacsbr: check that the element type matches before applying SBR - avcodec/h264_slice: Use w/h from the AVFrame instead of mb_w/h - vp9/update_prob: prevent out of bounds table read - avfilter/vf_transpose: Fix rounding error - avcodec/h264_refs: discard mismatching references - avcodec/mjpegdec: Fix small picture upscale - avcodec/pngdec: Check values before updating context in decode_fctl_chunk() - avcodec/pngdec: Copy IHDR & plte state from last thread - avcodec/pngdec: Require a IHDR chunk before fctl - avcodec/pngdec: Only allow one IHDR chunk - wmavoice: limit wmavoice_decode_packet return value to packet size - swscale/swscale_unscaled: Fix rounding difference with RGBA output between little and big endian - ffmpeg: Do not use the data/size of a bitstream filter after failure - swscale/x86/rgb2rgb_template: fix signedness of v in shuffle_bytes_2103_{mmx,mmxext} - vda: unlock the pixel buffer base address. - swscale/rgb2rgb_template: Fix signedness of v in shuffle_bytes_2103_c() - swscale/rgb2rgb_template: Implement shuffle_bytes_0321_c and fix shuffle_bytes_2103_c on BE - swscale/rgb2rgb_template: Disable shuffle_bytes_2103_c on big endian - swr: Remember previously set int_sample_format from user - swresample: soxr implementation for swr_get_out_samples() - avformat/swfdec: Do not error out on pixel format changes - ffmpeg_opt: Fix forcing fourccs - configure: Check for x265_api_get - swscale/x86/rgb2rgb_template: don't call emms on sse2/avx functions - swscale/x86/rgb2rgb_template: add missing xmm clobbers - library.mak: Workaround SDL redefining main and breaking fate tests on mingw - vaapi_h264: fix RefPicList[] field flags.
version 2.7.1: - postproc: fix unaligned access - avformat: clarify what package needs to be compiled with SSL support - avcodec/libx264: Avoid reconfig on equivalent aspect ratios - avcodec/flacenc: Fix Invalid Rice order - tls_gnutls: fix hang on disconnection - avcodec/hevc_ps: Only discard overread VPS if a previous is available - ffmpeg: Free last_frame instead of just unref - avcodec/ffv1enc: fix bps for >8bit yuv when not explicitly set - avio: fix potential crashes when combining ffio_ensure_seekback + crc - examples/demuxing_decoding: use properties from frame instead of video_dec_ctx - h264: er: Copy from the previous reference only if compatible - doc: fix spelling errors - configure: only disable VSX for !ppc64el - ffmpeg_opt: Check for localtime() failure - avformat/singlejpeg: fix standalone compilation - configure: Disable VSX on unspecified / generic CPUs - avformat: Fix bug in parse_rps for HEVC. - takdec: ensure chan2 is a valid channel index - avcodec/h264_slice: Use AVFrame dimensions for grayscale handling
version 2.7: - FFT video filter - TDSC decoder - DTS lossless extension (XLL) decoding (not lossless, disabled by default) - showwavespic filter - DTS decoding through libdcadec - Drop support for nvenc API before 5.0 - nvenc HEVC encoder - Detelecine filter - Intel QSV-accelerated H.264 encoding - MMAL-accelerated H.264 decoding - basic APNG encoder and muxer with default extension "apng" - unpack DivX-style packed B-frames in MPEG-4 bitstream filter - WebM Live Chunk Muxer - nvenc level and tier options - chorus filter - Canopus HQ/HQA decoder - Automatically rotate videos based on metadata in ffmpeg - improved Quickdraw compatibility - VP9 high bit-depth and extended colorspaces decoding support - WebPAnimEncoder API when available for encoding and muxing WebP - Direct3D11-accelerated decoding - Support Secure Transport - Multipart JPEG demuxer
Changes 2.6.3: - avcodec/libtheoraenc: Check for av_malloc failure - ffmpeg_opt: Fix -timestamp parsing - hevc: make avcodec_decode_video2() fail if get_format() fails - avcodec/cavsdec: Use ff_set_dimensions() - swr: fix alignment issue caused by 8ch sse functions - avcodec/mjpegdec: fix len computation in ff_mjpeg_decode_dqt() - avcodec/jpeg2000dec: fix boolean operator - avcodec/hevc_ps: Explicitly check num_tile_* for negative values - avformat/matroskadec: Cleanup error handling for bz2 & zlib - avformat/nutdec: Fix use of uinitialized value - tools/graph2dot: use larger data types than int for array/string sizes - avformat/matroskaenc: Check ff_vorbiscomment_length in put_flac_codecpriv() - avcodec/mpeg12dec: use the correct dimensions for checking SAR - xcbgrab: Validate the capture area - xcbgrab: Do not assume the non shm image data is always available - avfilter/lavfutils: disable frame threads when decoding a single image - avformat/mov: Do not read ACLR into extradata for H.264 - ffmpeg: remove incorrect network deinit - OpenCL: Avoid potential buffer overflow in cmdutils_opencl.c - libvpxenc: only set noise reduction w/vp8 - vp9: remove another optimization branch in iadst16 which causes overflows. - lavf: Reset global flag on deinit - network: Do not leave context locked on error - vp9: remove one optimization branch in iadst16 which causes overflows. - fate: Include branch information in the payload header - avformat/utils: Ensure that AVFMT_FLAG_CUSTOM_IO is set before use - avformat/img2dec: do not rewind custom io buffers - avcodec/alsdec: Use av_mallocz_array() for chan_data to ensure the arrays never contain random data - avcodec/atrac3plusdsp: fix on stack alignment - swresample/swresample-test: Randomly wipe out channel counts - swresample: Check channel layouts and channels against each other and print human readable error messages - swresample: Allow reinitialization without ever setting channel layouts (cherry picked from commit 80a28c7509a11114e1aea5b208d56c6646d69c07) - swresample: Allow reinitialization without ever setting channel counts - dashenc: replace attribute id with contentType for the AdaptationSet element - avformat/matroskaenc: Use avoid_negative_ts_use_pts if no stream writes dts - avformat/mux: Add avoid_negative_ts_use_pts - tests/fate-run: do not attempt to parse tiny_psnrs output if it failed - cafdec: free extradata before allocating it - imgutils: initialize palette padding bytes in av_image_alloc - aacdec: don't return frames without data - id3v2: catch avio_read errors in check_tag - avi: Validate sample_size - aacsbr: break infinite loop in sbr_hf_calc_npatches - diracdec: avoid overflow of bytes*8 in decode_lowdelay - diracdec: prevent overflow in data_unit_size check - avformat/matroskadec: Use tracks[k]->stream instead of s->streams[k] - matroskadec: use uint64_t instead of int for index_scale - pngdec: don't use AV_PIX_FMT_MONOBLACK for apng - pngdec: return correct error code from decode_frame_common - nutdec: fix illegal count check in decode_main_header - nutdec: fix memleaks on error in nut_read_header - apedec: prevent out of array writes in decode_array_0000 - apedec: set s->samples only when init_frame_decoder succeeded - swscale/ppc/swscale_altivec.c: POWER LE support in yuv2planeX_8() delete macro GET_VF() it was wrong - alac: reject rice_limit 0 if compression is used - alsdec: only adapt order for positive max_order - bink: check vst->index_entries before using it - mpeg4videodec: only allow a positive length - aacpsy: correct calculation of minath in psy_3gpp_init - alsdec: validate time diff index - alsdec: ensure channel reordering is reversible - ac3: validate end in ff_ac3_bit_alloc_calc_mask - aacpsy: avoid psy_band->threshold becoming NaN - aasc: return correct buffer size from aasc_decode_frame - matroskadec: export cover art correctly - mxfenc: don't try to write footer without header - mxfenc: fix memleaks in mxf_write_footer - rtpenc_mpegts: Set chain->rtp_ctx only after avformat_write_header succeeded - rtpenc_mpegts: Free the right ->pb in the error path in the init function
Changes 2.6.2: - avcodec/h264: Do not fail with randomly truncated VUIs - avcodec/h264_ps: Move truncation check from VUI to SPS - avcodec/h264: Be more tolerant to changing pps id between slices - avcodec/aacdec: Fix storing state before PCE decode - avcodec/h264: reset the counts in the correct context - avcodec/h264_slice: Do not reset mb_aff_frame per slice - avcodec/h264: finish previous slices before switching to single thread mode - avcodec/h264: Fix race between slices where one overwrites data from the next - avformat/utils: avoid discarded streams in av_find_default_stream_index() - ffmpeg: Fix extradata allocation - avcodec/h264_refs: Do not set reference to things which do not exist - avcodec/h264: Fail for invalid mixed IDR / non IDR frames in slice threading mode - Revert "avcodec/exr: fix memset first arg in reverse_lut()" - h264: avoid unnecessary calls to get_format - avutil/pca: Check for av_malloc* failures - avutil/cpu: add missing check for mmxext to av_force_cpu_flags - lavc/dnxhd: Fix pix_fmt change. - avformat/http: replace cookies with updated values instead of appending forever - avformat/hls: store cookies returned in HLS key response - avformat/rmdec: fix support for 0 sized mdpr - avcodec/msrledec: restructure msrle_decode_pal4() based on the line number instead of the pixel pointer - avcodec/hevc_ps: Check cropping parameters more correctly - hevc: make the crop sizes unsigned - avcodec/dnxhddec: Reset is_444 if format is not 444 - avcodec/dnxhddec: Check that the frame is interlaced before using cur_field - mips/float_dsp: fix vector_fmul_window_mips on mips64 - doc: Remove non-existing decklink options.
Update to 2.6.1: version 2.6.1: - avformat/mov: Disallow ".." in dref unless use_absolute_path is set - avfilter/palettegen: make sure at least one frame was sent to the filter - avformat/mov: Check for string truncation in mov_open_dref() - ac3_fixed: fix out-of-bound read - mips/asmdefs: use _ABI64 as defined by gcc - hevc: delay ff_thread_finish_setup for hwaccel - avcodec/012v: Check dimensions more completely - asfenc: fix leaking asf->index_ptr on error - roqvideoenc: set enc->avctx in roq_encode_init - avcodec/options_table: remove extradata_size from the AVOptions table - ffmdec: limit the backward seek to the last resync position - Add dependencies to configure file for vf_fftfilt - ffmdec: make sure the time base is valid - ffmdec: fix infinite loop at EOF - ffmdec: initialize f_cprv, f_stvi and f_stau - arm: Suppress tags about used cpu arch and extensions - mxfdec: Fix the error handling for when strftime fails - avcodec/opusdec: Fix delayed sample value - avcodec/opusdec: Clear out pointers per packet - avcodec/utils: Align YUV411 by as much as the other YUV variants - lavc/hevcdsp: Fix compilation for arm with --disable-neon. - vp9: fix segmentation map retention with threading enabled. - Revert "avutil/opencl: is_compiled flag not being cleared in av_opencl_uninit"
Changes 2.6: - nvenc encoder - 10bit spp filter - colorlevels filter - RIFX format for *.wav files - RTP/mpegts muxer - non continuous cache protocol support - tblend filter - cropdetect support for non 8bpp, absolute (if limit >= 1) and relative (if limit < 1.0) threshold - Camellia symmetric block cipher - OpenH264 encoder wrapper - VOC seeking support - Closed caption Decoder - fspp, uspp, pp7 MPlayer postprocessing filters ported to native filters - showpalette filter - Twofish symmetric block cipher - Support DNx100 (960x720@8) - eq2 filter ported from libmpcodecs as eq filter - removed libmpcodecs - Changed default DNxHD colour range in QuickTime .mov derivatives to mpeg range - ported softpulldown filter from libmpcodecs as repeatfields filter - dcshift filter - RTP depacketizer for loss tolerant payload format for MP3 audio (RFC 5219) - RTP depacketizer for AC3 payload format (RFC 4184) - palettegen and paletteuse filters - VP9 RTP payload format (draft 0) experimental depacketizer - RTP depacketizer for DV (RFC 6469) - DXVA2-accelerated HEVC decoding - AAC ELD 480 decoding - Intel QSV-accelerated H.264 decoding - DSS SP decoder and DSS demuxer - Fix stsd atom corruption in DNxHD QuickTimes - Canopus HQX decoder - RTP depacketization of T.140 text (RFC 4103) - VP9 RTP payload format (draft 0) experimental depacketizer - Port MIPS optimizations to 64-bit
Pullup ticket #4613 - requested by tnn multimedia/ffmpeg2: security update Revisions pulled up: - multimedia/ffmpeg2/Makefile.common 1.27-1.29 - multimedia/ffmpeg2/distinfo 1.26-1.28 - multimedia/ffmpeg2/patches/patch-configure 1.6 --- Module Name: pkgsrc Committed By: adam Date: Tue Dec 30 06:40:46 UTC 2014 Modified Files: pkgsrc/multimedia/ffmpeg2: Makefile.common distinfo Log Message: Changes 2.5.2: * Makefile: add dependencies which require ffversion.h * Add FFMPEG_VERSION into the binary libs * mmvideo: check frame dimensions * jvdec: check frame dimensions * avcodec/indeo3: ensure offsets are non negative * avcodec/h264: Check *log2_weight_denom * avcodec/hevc_ps: Check diff_cu_qp_delta_depth * avcodec/h264: Clear delayed_pic on deallocation * avcodec/hevc: clear filter_slice_edges() on allocation * avcodec/dcadec: Check that the added xch channel isnt already there * avcodec/indeo3: use signed variables to avoid underflow * avcodec/h264: make the first field of H264Context an AVClass * swscale: increase yuv2rgb table headroom * avformat/mov: fix integer overflow of size * avformat/mov: check atom nesting depth * avcodec/utvideodec: Fix handling of slice_height=0 * avcodec/xface: Add asserts to limit nb_words from becoming too large * avcodec/xface: correct the XFACE_MAX_* values * avcodec/vmdvideo: Check len before using it in method 3 * avformat/flvdec: Use av_freep() avoid leaving stale pointers in memory * avformat/hdsenc: Use av_freep() avoid leaving stale pointers in memory * configure: create the tests directory like the doc directory --- Module Name: pkgsrc Committed By: adam Date: Sat Jan 10 19:10:20 UTC 2015 Modified Files: pkgsrc/multimedia/ffmpeg2: Makefile.common distinfo Log Message: Changes 2.5.3: * doc/examples: fix lib math dep for decoding_encoding * avformat/movenc: workaround bug in "PathScale EKOPath(tm) Compiler Suite Version 4.0.12.1" --- Module Name: pkgsrc Committed By: adam Date: Sat Feb 14 15:41:43 UTC 2015 Modified Files: pkgsrc/multimedia/ffmpeg2: Makefile.common distinfo pkgsrc/multimedia/ffmpeg2/patches: patch-configure Log Message: Changes 2.5.4: * avfilter/dctdnoiz: fix slice_h computation * x86/lossless_audiodsp: fix compilation with --disable-yasm * avutil/opencl: don't include config.h * x86/swr: add missing alignment check to pack_6ch functions
Changes 2.5.4: * avfilter/dctdnoiz: fix slice_h computation * x86/lossless_audiodsp: fix compilation with --disable-yasm * avutil/opencl: don't include config.h * x86/swr: add missing alignment check to pack_6ch functions
Changes 2.5.3: * doc/examples: fix lib math dep for decoding_encoding * avformat/movenc: workaround bug in "PathScale EKOPath(tm) Compiler Suite Version 4.0.12.1"
Changes 2.5.2: * Makefile: add dependencies which require ffversion.h * Add FFMPEG_VERSION into the binary libs * mmvideo: check frame dimensions * jvdec: check frame dimensions * avcodec/indeo3: ensure offsets are non negative * avcodec/h264: Check *log2_weight_denom * avcodec/hevc_ps: Check diff_cu_qp_delta_depth * avcodec/h264: Clear delayed_pic on deallocation * avcodec/hevc: clear filter_slice_edges() on allocation * avcodec/dcadec: Check that the added xch channel isnt already there * avcodec/indeo3: use signed variables to avoid underflow * avcodec/h264: make the first field of H264Context an AVClass * swscale: increase yuv2rgb table headroom * avformat/mov: fix integer overflow of size * avformat/mov: check atom nesting depth * avcodec/utvideodec: Fix handling of slice_height=0 * avcodec/xface: Add asserts to limit nb_words from becoming too large * avcodec/xface: correct the XFACE_MAX_* values * avcodec/vmdvideo: Check len before using it in method 3 * avformat/flvdec: Use av_freep() avoid leaving stale pointers in memory * avformat/hdsenc: Use av_freep() avoid leaving stale pointers in memory * configure: create the tests directory like the doc directory
Changes 2.5: The most important new features are AVFoundation screen-grabbing support, animated WebP decoding support, and Animated PNG support. In addition, many exciting features for video streaming are also implemented, including MPEG- DASH fragmenting muxer, HEVC RTP payload muxer, and UDP Lite support.
Changes 2.4.4: * doc: correct license template for t2h.pm * avformat: replace some odd 30-60 rates by higher less odd ones in get_std_framerate() * swscale: fix yuv2yuvX_8 assembly on x86 * avcodec/hevc_ps: Check num_long_term_ref_pics_sps * avcodec/mjpegdec: Fix integer overflow in shift * avcodec/hevc_ps: Check return code from pps_range_extensions() * avcodec/rawdec: Check the return code of avpicture_get_size() * avcodec/pngdec: Check IHDR/IDAT order
Changes 2.4.3: * avcodec/h264_slice: Clear table pointers to avoid stale pointers * avcodec/h264_parser: rewrite the parse_nal_units() loop logic based on h264.c * avcodec/h264: simplify find_start_code() * Move get_avc_nalsize() and find_start_code() to h264.h * mpeg4vdpau: Fix priv data size. * avformat/matroskadec: do not trust the default duration to be the real 1/timebase if its less than 5fps * avformat/options_table: add FF_COMPLIANCE_UNOFFICIAL * Stop demuxing wtv on eof.
Update to 2.4.2: version 2.4.2: - avcodec/on2avc: Check number of channels - avcodec/hevc: fix chroma transform_add size - avcodec/h264: Check mode before considering mixed mode intra prediction - avformat/mpegts: use a padded buffer in read_sl_header() - avformat/mpegts: Check desc_len / get8() return code - avcodec/vorbisdec: Fix off by 1 error in ptns_to_read - sdp: add support for H.261 - avcodec/svq3: Do not memcpy AVFrame - avcodec/smc: fix off by 1 error - avcodec/qpeg: fix off by 1 error in MV bounds check - avcodec/gifdec: factorize interleave end handling out - avcodec/cinepak: fix integer underflow - avcodec/pngdec: Check bits per pixel before setting monoblack pixel format - avcodec/pngdec: Calculate MPNG bytewidth more defensively - avcodec/tiff: more completely check bpp/bppcount - avcodec/mmvideo: Bounds check 2nd line of HHV Intra blocks - avcodec/h263dec: Fix decoding messenger.h263 - avcodec/utils: Add case for jv to avcodec_align_dimensions2() - avcodec/mjpegdec: check bits per pixel for changes similar to dimensions - avcodec/jpeglsdec: Check run value more completely in ls_decode_line() - avformat/hlsenc: export inner muxer timebase - configure: add noexecstack to linker options if supported. - avcodec/ac3enc_template: fix out of array read - avutil/x86/cpu: fix cpuid sub-leaf selection - avformat/img2dec: enable generic seeking for image pipes - avformat/img2dec: initialize pkt->pos for image pipes - avformat/img2dec: pass error code and signal EOF - avformat/img2dec: fix error code at EOF for pipes - libavutil/opt: fix av_opt_set_channel_layout() to access correct memory address - tests/fate-run.sh: Cat .err file in case of error with V>0 - avformat/riffenc: Filter out "BottomUp" in ff_put_bmp_header() - avcodec/webp: fix default palette color 0xff000000 -> 0x00000000 - avcodec/asvenc: fix AAN scaling - Fix compile error on arm4/arm5 platform
Update to 2.4.1: The FFmpeg Project proudly presents FFmpeg 2.4 "Fresnel", just 2 months after the release of 2.3. Since this wasn't a long time ago, the Changelog is a bit short this time. The most important thing in this release is the major version bump of the libraries. This means that this release is neither ABI-compatible nor fully API-compatible. But on the other hand it is aligned with the Libav 11 release series, and will as a result probably end up being maintained for a long time. Important API changes since 2.3: • The new field mime_type was added to AVProbeData, which can cause crashes, if it is not initialized. • Some deprecated functions were removed. • The avfilter_graph_parse function was made compatible with Libav. • The Matroska demuxer now outputs verbatim ASS packets. Please refer to the doc/APIchanges file for more information. libavformat • Icecast protocol. • API for live metadata updates through event flags. • UTF-16 support in text subtitles formats. • The ASS muxer now reorders the Dialogue events properly. • support for H.261 RTP payload format (RFC 4587) • HEVC/H.265 RTP payload format (draft v6) depacketizer libavfilter • Ported lenscorrection filter from frei0r filter. • Large optimizations in dctdnoiz to make it usable. • Added codecview filter to visualize information exported by some codecs. • Added silenceremove filter. libavutil • Added clip() function in eval. Behaviour changes • dctdnoiz filter now uses a block size of 8x8 instead of 16x16 by default • -vismv option is deprecated in favor of the codecview filter • libmodplug is now detected through pkg-config • HTML documentation generation through texi2html is deprecated in favor of makeinfo/texi2any • ICY metadata are now requested by default with the HTTP protocol
avoid SunOS regset.h definition for REG_SP causing assembler issues. Bump PKGVERSION
Changes 2.3.3: avcodec/h264_mb: fix grayscale only decoding with weighted prediction avformat/mpegts: Use differential score for analyze() avcodec/mjpegdec: Support AV_PIX_FMT_YUV420P16 with upscale_h proresenc_kostya: properly account for alpha avformat/matroskadec: Check avpriv_new_chapter() for failure proresenc_kostya: report buffer overflow proresenc_kostya: remove unneeded parameters
Changes 2.3.2: avcodec/snow: fix null pointer dereference in cleanup after allocation failure avcodec/huffyuvdec: fix overread checks avcodec/get_bits: add BITS_LEFT() for finding the bits left with an opened reader avcodec/vc1dec: do not crash when flushing without an allocated frame
Changes 2.3.1: avdevice/pulse_audio_enc: use getter function for AVFrame.channels MAINTAINERS: update list of releases i maintain avcodec/avdct: Add avcodec_dct_get_class() fate: support testing of release branches tests/fate.sh: If cat *.rep fails try it with a for loop. g2meet: allow size changes within original sizes version.sh: Print versions based on the last git tag for release branches
The FFmpeg Project proudly presents FFmpeg 2.3 "Mandelbrot", a major release with all the great features committed during the three-month period since the release of FFmpeg 2.2. In this release, there are lots of internal overhauls that make FFmpeg a more accessible project for new developers. Many important new optimizations and features like QTKit and AVFoundation input devices are committed. Contributions done by Libav such as a new native Opus decoder are also merged. Because of the increasing difficulty to maintain and lack of maintainers, we are very sorry to say that we have removed all Blackfin and SPARC architecture assembly optimizations with the cleanups done. If you are interested in maintaining optimization for these two architecture, feel free to contact us and we will restore the code! Oh, and since this release, this modern-looking release note is provided in addition to the old-style Changelog file, to make it easier for you to focus on the most important features in this release. Enjoy!
Changes 2.2.5: * ffmpeg: Use av_stream_get_parser() to avoid ABI issues * avformat: add av_stream_get_parser() to access avformat AVParser * avformat/utils: do not wait for packets from discarded streams for genpts * avfilter/f_ebur128: Use av_malloc_array() * avcodec/hevc: Use av_malloc(z)_array() * cmdutils_opencl: Use av_malloc_array() * avfilter/x86/vf_pullup: fix old typo * avfilter/vf_pullup: use ptrdiff_t as stride argument for dsp functions
Changes 2.2.4: avformat/mpc: attempt to allocate a packet that is not smaller than the data inside it avformat/cavsvideodec: Fix probing when the file extension is avs cavsdec: fix qp fixed slice handling avcodec/alsdec: Clear MPEG4AudioConfig so that no use of uninitialized memory is possible avformat/flvenc: Do not allow creating h263/mpeg4 in flv without unofficial format extensions being enabled. avcodec/aic: fix quantization table permutation avutil/lzo: add asserts to be double sure against overflows avutil/lzo: Fix integer overflow Show duration for large asf files as written in the file header.
Changes 2.2.3: * avformat/h263dec/h263_probe: Check TR * avformat/h263dec/h263_probe: Check PSC bit 9 and 13 in * avformat/h263dec: shift data in state to make more bits available to probe * avcodec/svq3: Fix "incompatible pointer type" warnings * avformat/utils: Call ff_rfps_add_frame() only for video * avformat/flvenc: fix assertion failure after 4h muxing * avcodec/mss4: Fix () in MKVAL() macro * avcodec/mss34dsp: fix () in SOP* macros more...
Changes 2.2.2: * lavd/opengl_enc: fix pixel data alignment * ffmpeg: print an error at the end if conversion failed * avfilter/graphdump: Fix pointer to local outside scope * ffmpeg_filter: fix pointer to local outside scope * avcodec/mjpegdec: Fix undefined shift * avformat/h263dec: Fix h263 probe * avfilter/filtfmts: Support dynamically allocated in/outputs * iavcodec/vc1dec: Fix missing {} * more...
Changes 2.2.1: * avcodec/dirac_arith: Fix build with PIC and stack-check options * swscale/x86/swscale_template: loose hardcoded dstw_offset * swresample/resample: use av_malloc_array() where appropriate * swresample/dither: use av_malloc_array() * swresample/resample: Limit filter length * avcodec/msrle: check return code for success before use * avcodec/pthread_frame: fix missing unlock on error * examples/avio_reading: fix null dereference on error * avformat/omadec: fix probetest failure * avcodec/wma: use av_freep(), do not leave stale pointers in memory * lavu/opt: validate range before dereference * avcodec/h264: clear cur_pic structure instead of duplicating it in ff_h264_update_thread_context() * avfilter/vf_pullup: fix gray8 * avcodec/libx264: move where x264opts is applied down so it isnt overridden by avctx & defaults
Changes 2.2: - HNM version 4 demuxer and video decoder - Live HDS muxer - setsar/setdar filters now support variables in ratio expressions - elbg filter - string validation in ffprobe - support for decoding through VDPAU in ffmpeg (the -hwaccel option) - complete Voxware MetaSound decoder - remove mp3_header_compress bitstream filter - Windows resource files for shared libraries - aeval filter - stereoscopic 3d metadata handling - WebP encoding via libwebp - ATRAC3+ decoder - VP8 in Ogg demuxing - side & metadata support in NUT - framepack filter - XYZ12 rawvideo support in NUT - Exif metadata support in WebP decoder - OpenGL device - Use metadata_header_padding to control padding in ID3 tags (currently used in MP3, AIFF, and OMA files), FLAC header, and the AVI "junk" block. - Mirillis FIC video decoder - Support DNx444 - libx265 encoder - dejudder filter - Autodetect VDA like all other hardware accelerations
Changes 2.1.4: * avcodec/hevc: Simplify get_qPy_pred() * avcodec/mpeg4videodec: Check for bitstream overread in decode_vol_header() * avcodec/h264: use subsample factors of the used pixel format * avformat/bink: Check return value of av_add_index_entry() * avcodec/h264: more completely check the loop filter parameters * avcodec/alsdec: check predictor order against block length * avcodec/hevc_ps: Use get_bits_long() in decode_vui() * avcodec/hevc: make check for previous slice segment tighter * avcodec/hevc: clear tab_slice_address of ctb on error. * avcodec/hevc: hls_decode_entry: check that the previous slice segment is available before decoding the next * avcodec/hevc: clear tab_slice_address in hevc_frame_start() * avcodec/h264: update current_sps & sps->new only after the whole slice header decoder and init code finished * avcodec/h264: Disallow pps_id changing between slices * avcodec/aacdec: Fix pulse position checks in decode_pulses() * avcodec/hevc: propagate error code from hls_coding_quadtree() * avcodec/tiff: reset geotag_count in free_geotags() * avcodec/vc1: Check bfraction_lut_index * avcodec/vc1: factor read_bfraction() out * avcodec/vc1dec: field pictures with direct mode MBs, followed by frame pictures are not supported
Changes 2.1.3: * library.mak: only run asm strip if ASMSTRIP flags are set * configure: remove code that disables striping in the absence of some flags * This more closely matches the actual use, also we use plain strip without these flags for striping * avformat/utils/av_probe_input_buffer2: fix buffer passed to ffio_rewind_with_probe_data() * avformat/utils/av_probe_input_buffer2: fix offset check * avformat/utils/av_probe_input_buffer2: Fix pd.buf_size
Changes 2.1.2: Fix a crash on oom when decoding hevc. avcodec/hevc: Check entry point arrays for malloc failure hevc: Bound check slice_qp hevc: Reject impossible dependent tile hevc: remove useless clip in FUNC(sao_band_filter)() hevc: clip pixels when transquant bypass is used
Changes 2.1.1: Bug fixes.
Changes 2.1: - aecho filter - perspective filter ported from libmpcodecs - ffprobe -show_programs option - compand filter - RTMP seek support - when transcoding with ffmpeg (i.e. not streamcopying), -ss is now accurate even when used as an input option. Previous behavior can be restored with the -noaccurate_seek option. - ffmpeg -t option can now be used for inputs, to limit the duration of data read from an input file - incomplete Voxware MetaSound decoder - read EXIF metadata from JPEG - DVB teletext decoder - phase filter ported from libmpcodecs - w3fdif filter - Opus support in Matroska - FFV1 version 1.3 is stable and no longer experimental - FFV1: YUVA(444,422,420) 9, 10 and 16 bit support - changed DTS stream id in lavf mpeg ps muxer from 0x8a to 0x88, to be more consistent with other muxers. - adelay filter - pullup filter ported from libmpcodecs - ffprobe -read_intervals option - Lossless and alpha support for WebP decoder - Error Resilient AAC syntax (ER AAC LC) decoding - Low Delay AAC (ER AAC LD) decoding - mux chapters in ASF files - SFTP protocol (via libssh) - libx264: add ability to encode in YUVJ422P and YUVJ444P - Fraps: use BT.709 colorspace by default for yuv, as reference fraps decoder does - make decoding alpha optional for prores, ffv1 and vp6 by setting the skip_alpha flag. - ladspa wrapper filter - native VP9 decoder - dpx parser - max_error_rate parameter in ffmpeg - PulseAudio output device - ReplayGain scanner - Enhanced Low Delay AAC (ER AAC ELD) decoding (no LD SBR support) - Linux framebuffer output device - HEVC decoder, raw HEVC demuxer, HEVC demuxing in TS, Matroska and MP4 - mergeplanes filter
Don't enable OpenCL on Mac OS X Lion or older. "ffmpeg" requires version 1.2 or newer which isn't available in these versions.
2.0.2 was released on 2013-10-08. It is the latest stable FFmpeg release from the 2.0 release branch, which was cut from master on 2013-07-10. Amongst lots of other changes, it includes all changes from ffmpeg-mt, libav master of 2013-07-09, libav 9 as of 2013-07-09.
Fix rpath issue
2.0.1 was released on 2013-08-11. It is the latest stable FFmpeg release from the 2.0 release branch, which was cut from master on 2013-07-10. Amongst lots of other changes, it includes all changes from ffmpeg-mt, libav master of 2013-07-09, libav 9 as of 2013-07-09.
FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.