Subject: CVS commit: [pkgsrc-2015Q4] pkgsrc/multimedia/ffmpeg2
From: Benny Siegert
Date: 2015-12-30 17:55:18
Message id: 20151230165518.4B2F2F95B@cvs.NetBSD.org

Log Message:
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

Files:
RevisionActionfile
1.40.2.1modifypkgsrc/multimedia/ffmpeg2/Makefile.common
1.42.2.1modifypkgsrc/multimedia/ffmpeg2/distinfo
1.1removepkgsrc/multimedia/ffmpeg2/patches/patch-libavcodec_libvpxenc.c