pkgsrc/multimedia/ffmpeg2/Makefile.common

99 lines
2.8 KiB
Text
Raw Normal View History

# $NetBSD: Makefile.common,v 1.57 2018/09/25 10:03:49 wiz Exp $
# used by multimedia/ffmpeg2/Makefile
# used by multimedia/ffplay2/Makefile
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
2018-02-25 21:35:44 +01:00
DISTNAME= ffmpeg-2.8.14
CATEGORIES= multimedia
MASTER_SITES= http://www.ffmpeg.org/releases/
2015-12-28 12:44:46 +01:00
EXTRACT_SUFX= .tar.xz
LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2
PATCHDIR= ${.CURDIR}/../../multimedia/ffmpeg2/patches
USE_LANGUAGES= c99
USE_LIBTOOL= yes
USE_TOOLS+= gmake perl pod2man pkg-config
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --cc=${CC:Q}
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= --disable-optimizations
CONFIGURE_ARGS+= --disable-stripping
CONFIGURE_ARGS+= --enable-gpl
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
2018-02-25 21:35:44 +01:00
CONFIGURE_ARGS+= --enable-libbluray
CONFIGURE_ARGS+= --enable-pthreads
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --progs-suffix=2
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/ffmpeg2
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/ffmpeg2
CONFIGURE_ARGS+= --incdir=${PREFIX}/include/ffmpeg2
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/ffmpeg2
CONFIGURE_ARGS+= --shlibdir=${PREFIX}/lib/ffmpeg2
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ffmpeg2
PLIST_VARS+= opencl
.if !empty(MACHINE_PLATFORM:MDarwin-1[2-9].*-*)
CONFIGURE_ARGS+= --enable-opencl
PLIST.opencl= yes
.endif
.if ${OPSYS} == "SunOS"
USE_TOOLS+= bash:build
CONFIG_SHELL= ${TOOLS_PATH.bash}
.endif
CONFIGURE_ARGS+= --enable-runtime-cpudetect
# No posix_memalign() in NetBSD 4.0 and earlier
.if !empty(MACHINE_PLATFORM:MNetBSD-[1-4].*-*)
CONFIGURE_ARGS+= --enable-memalign-hack
.endif
# Let's not put garbage into /tmp
CONFIGURE_ENV+= TMPDIR=${WRKSRC}/tmp
.include "../../mk/compiler.mk"
2018-01-25 15:15:25 +01:00
.if !empty(PKGSRC_COMPILER:Msunpro)
SUBST_CLASSES+= sunwspro
SUBST_MESSAGE.sunwspro= Fixing compiler options for SunStudio C compiler.
SUBST_STAGE.sunwspro= post-configure
SUBST_FILES.sunwspro= config.mak
SUBST_SED.sunwspro= -e "s/-O /-KPIC -DPIC /"
SUBST_SED.sunwspro+= -e "s/-O3/-xO2/g"
SUBST_SED.sunwspro+= -e "s/-std=c99/-xc99=all/"
SUBST_SED.sunwspro+= -e "s/-Wl,-rpath-link,/-L /g"
.endif
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
2018-02-25 21:35:44 +01:00
#BUILD_DEPENDS+= yasm>=0.7.2:../../devel/yasm
BUILD_DEPENDS+= nasm>=2.13:../../devel/nasm
REPLACE_PERL+= doc/texi2pod.pl
REPLACE_SH+= configure version.sh
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure
SUBST_FILES.conf= ffserver.c
SUBST_SED.conf= -e 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g'
SUBST_MESSAGE.conf= Fixing configuration path.
PLIST_SRC+= ${PKGDIR}/PLIST
MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q}
pre-configure:
mkdir ${WRKSRC}/tmp
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
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
2018-02-25 21:35:44 +01:00
.include "../../multimedia/libbluray/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
2013-08-15 20:49:10 +02:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"