]> git.sesse.net Git - ffmpeg/log
ffmpeg
6 years agoavcodec/mips: Improve hevc non-uni hz and vt mc msa functions
Kaustubh Raste [Thu, 9 Nov 2017 10:09:49 +0000 (15:39 +0530)]
avcodec/mips: Improve hevc non-uni hz and vt mc msa functions

Use mask buffer.

Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavcodec/mips: cleanup unused macros
Kaustubh Raste [Thu, 9 Nov 2017 05:17:28 +0000 (10:47 +0530)]
avcodec/mips: cleanup unused macros

Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavcodec: fix whitespace on AVPanScan struct definition
Aman Gupta [Tue, 14 Nov 2017 18:02:20 +0000 (10:02 -0800)]
avcodec: fix whitespace on AVPanScan struct definition

6 years agoavformat/http: fix chunked response w/ multiple_requests=1
Aman Gupta [Mon, 13 Nov 2017 19:34:50 +0000 (11:34 -0800)]
avformat/http: fix chunked response w/ multiple_requests=1

Currently if you use the multiple_requests=1 option and try to
receive a chunked-encoded response, http_buf_read() will hang forever.

After this patch, EOF is emulated once a 0-byte final chunk is
received by setting a new flag. This flag is reset in ff_http_do_new_request(),
which is used to make additional requests on the open socket.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/x86/mpegvideodsp: Fix signedness bug in need_emu
Michael Niedermayer [Mon, 13 Nov 2017 19:47:48 +0000 (20:47 +0100)]
avcodec/x86/mpegvideodsp: Fix signedness bug in need_emu

Fixes: out of array read
Fixes: 3516/attachment-311488.dat
Found-by: Insu Yun, Georgia Tech.
Tested-by: wuninsu@gmail.com
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavformat/hlsenc: write fmp4 init header after first AV frame
Steven Liu [Tue, 14 Nov 2017 02:31:26 +0000 (10:31 +0800)]
avformat/hlsenc: write fmp4 init header after first AV frame

fix ticket id: 6825

Signed-off-by: Steven Liu <lq@onvideo.cn>
Tested-by: Aman Gupta <aman@tmm1.net>
6 years agoavutil/crc: use ff_thread_once at av_crc_get_table
Muhammad Faiz [Tue, 24 Oct 2017 09:23:28 +0000 (16:23 +0700)]
avutil/crc: use ff_thread_once at av_crc_get_table

Fix tsan warnings.

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
6 years agoavcodec/videotoolbox: fix opaque_ref handling
wm4 [Tue, 31 Oct 2017 14:15:27 +0000 (15:15 +0100)]
avcodec/videotoolbox: fix opaque_ref handling

This is a partial fix - to fix videotoolbox fully (with multithreaded
hwaccel decoding), much more work would be required.

Before this change, an assertion failure would trigger:

  $ ffmpeg -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld -i h264.ts -f null -y /dev/null
  Assertion (frame->private_ref && frame->private_ref->size == sizeof(FrameDecodeData)) || !(avctx->codec->capabilities & (1 << 1)) failed at libavcodec/decode.c:620

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: reorder functions to avoid forward declarations
Aman Gupta [Mon, 13 Nov 2017 23:06:40 +0000 (15:06 -0800)]
avcodec/videotoolbox: reorder functions to avoid forward declarations

Cosmetic change only.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: fix whitespace
Aman Gupta [Fri, 10 Nov 2017 20:02:23 +0000 (12:02 -0800)]
avcodec/videotoolbox: fix whitespace

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolboxenc: remove spurious warning
Aman Gupta [Mon, 25 Sep 2017 23:15:09 +0000 (16:15 -0700)]
avcodec/videotoolboxenc: remove spurious warning

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: pass through hevc param changes to the decoder
Aman Gupta [Fri, 10 Nov 2017 20:34:41 +0000 (12:34 -0800)]
avcodec/videotoolbox: pass through hevc param changes to the decoder

This includes the SEI_PREFIX/SEI_SUFFIX NALUs, which can contain
updates like HEVC_SEI_TYPE_ACTIVE_PARAMETER_SETS. Previously, hevc
samples with this SEI present would not playback correctly.

See for example https://github.com/lhc70000/iina/issues/1123

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/hevc: implement new decode_params callback for VideoToolbox
Aman Gupta [Fri, 10 Nov 2017 20:31:56 +0000 (12:31 -0800)]
avcodec/hevc: implement new decode_params callback for VideoToolbox

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: remove unnecessary if statement
Aman Gupta [Fri, 10 Nov 2017 19:52:38 +0000 (11:52 -0800)]
avcodec/videotoolbox: remove unnecessary if statement

Cosmetic change only.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: create avcC even when h264 extradata is missing
Aman Gupta [Mon, 25 Sep 2017 23:52:35 +0000 (16:52 -0700)]
avcodec/videotoolbox: create avcC even when h264 extradata is missing

Removes the avctx->extradata_size requirement when creating avcC/hvcC, since
avctx->extradata is only used in the esds code path.

This fixes an issue where the VideoToolbox decoder would not work unless
avformat_find_stream_info() was called.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: use decode_params to propagate H264 PPS changes and restart...
Aman Gupta [Fri, 10 Nov 2017 20:25:39 +0000 (12:25 -0800)]
avcodec/videotoolbox: use decode_params to propagate H264 PPS changes and restart on SPS changes

This fixes decoding of H264 video samples with SPS and PPS changes.

See for example https://s3.amazonaws.com/tmm1/videotoolbox/spschange.ts,
which previously stalled the decoder and failed to produce any new frames
after the SPS change.

Also see https://s3.amazonaws.com/tmm1/videotoolbox/ppschange.ts, which
uses multiple PPS and would previously cause VT decode failures.

If the VideoToolbox session needs to be restarted, and
videotoolbox_start() fails for some reason (for instance, if the video
is interlaced and the decoder is running on iOS), avcodec will return
AVERROR_EXTERNAL. This can be used by the API user to switch to another
decoder.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/h264: implement new decode_params callback for PPS/SPS
Aman Gupta [Fri, 10 Nov 2017 20:18:35 +0000 (12:18 -0800)]
avcodec/h264: implement new decode_params callback for PPS/SPS

This callback will be used by the VideoToolbox H264 hwaccel so that it
can receive SPS and PPS NALUs. VideoToolbox requires PPS changes to be
fed into the decoder session, and for the session to be recreated when
the SPS changes.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec: add decode_params callback to AVHWAccel struct
Aman Gupta [Fri, 10 Nov 2017 20:17:36 +0000 (12:17 -0800)]
avcodec: add decode_params callback to AVHWAccel struct

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/h264, videotoolbox: return AVERROR_INVALIDDATA when no frames are produced
Aman Gupta [Mon, 25 Sep 2017 23:45:53 +0000 (16:45 -0700)]
avcodec/h264, videotoolbox: return AVERROR_INVALIDDATA when no frames are produced

The only reason videotoolbox wouldn't produce frames is if the data fed
to it was invalid, so returning AVERROR_INVALIDDATA makes sense here.

Further, it means AVERROR_EXTERNAL can be used in further commits to signal
fatal VideoToolbox errors, letting the user know that they need to fallback to
another decoder.

Signed-off-by: Aman Gupta <aman@tmm1.net>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavcodec/videotoolbox: print descriptive errors on decode failures
Aman Gupta [Mon, 25 Sep 2017 23:44:47 +0000 (16:44 -0700)]
avcodec/videotoolbox: print descriptive errors on decode failures

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: reset bitstream_size in end_frame
Aman Gupta [Mon, 25 Sep 2017 23:42:18 +0000 (16:42 -0700)]
avcodec/videotoolbox: reset bitstream_size in end_frame

This allows decode_slice to be invoked multiple times before end_frame,
causing slices to accumulate before being fed into the VT decoder.

An upcoming commit will re-use decode_slice for parameter NALUs, so
they can be propagated into the VT decoder session along with slice
data.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: extract videotoolbox_{start,stop} helpers
Aman Gupta [Mon, 25 Sep 2017 23:32:11 +0000 (16:32 -0700)]
avcodec/videotoolbox: extract videotoolbox_{start,stop} helpers

These helpers will be used in later commits to automatically restart
the decoder session when SPS changes are encountered.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolbox: use early return in videotoolbox_default_free
Aman Gupta [Fri, 10 Nov 2017 19:59:05 +0000 (11:59 -0800)]
avcodec/videotoolbox: use early return in videotoolbox_default_free

Cosmetic change only.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolboxenc: re-indent code
Aman Gupta [Sun, 12 Nov 2017 18:20:17 +0000 (10:20 -0800)]
avcodec/videotoolboxenc: re-indent code

Cosmetic change only.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavcodec/videotoolboxenc: add hevc_videotoolbox encoder
Aman Gupta [Sun, 12 Nov 2017 18:19:17 +0000 (10:19 -0800)]
avcodec/videotoolboxenc: add hevc_videotoolbox encoder

Signed-off-by: Aman Gupta <aman@tmm1.net>
Reviewed-by: Rodger Combs <rodger.combs@gmail.com>
6 years agoconfigure: factorize nvdec dependencies
Timo Rothenpieler [Mon, 13 Nov 2017 21:01:53 +0000 (22:01 +0100)]
configure: factorize nvdec dependencies

6 years agoconfigure: fix cuda dependency on nvdec
Timo Rothenpieler [Mon, 13 Nov 2017 20:55:09 +0000 (21:55 +0100)]
configure: fix cuda dependency on nvdec

6 years agoThis fixes a deadlock while reading a chunked https response, if
Aman Gupta [Mon, 13 Nov 2017 21:02:44 +0000 (15:02 -0600)]
This fixes a deadlock while reading a chunked https response, if
multiple_requests=1 is also set. Without an EOF to signal the end of
the last chunk, tls_read gets stuck forever trying to read more data
than is available. This occurs with the http protocol reproducibly,
because http.c always reads 4kb at a time, and the last chunk of an
http response is often much smaller.

After this commit, tls_read always returns any buffered plaintext
first before attempting to read more encrypted data off the
underlying tcp socket.

Signed-off-by: Rodger Combs <rodger.combs@gmail.com>
6 years agolavf/tls_securetransport: handle incomplete reads gracefully
Rodger Combs [Mon, 13 Nov 2017 20:46:17 +0000 (14:46 -0600)]
lavf/tls_securetransport: handle incomplete reads gracefully

Signed-off-by: Aman Gupta <aman at tmm1.net>
6 years agoMakefile: fix distclean target
James Almer [Mon, 13 Nov 2017 20:37:56 +0000 (17:37 -0300)]
Makefile: fix distclean target

It must imply clean. Regression since e0087a5624117a1d643e2cb433ecc4d536756dda.

Signed-off-by: James Almer <jamrial@gmail.com>
6 years agomovenc-test: fix potential uninitialized read
Timo Rothenpieler [Wed, 8 Nov 2017 18:17:52 +0000 (19:17 +0100)]
movenc-test: fix potential uninitialized read

Fixes CID #1413023

6 years agoavfilter/vf_premultiply: fix memory-leak on failure
Timo Rothenpieler [Wed, 8 Nov 2017 18:17:51 +0000 (19:17 +0100)]
avfilter/vf_premultiply: fix memory-leak on failure

Fixes CID #1416352

6 years agoavformat/fitsenc: validate input pixel format
Timo Rothenpieler [Wed, 8 Nov 2017 18:17:49 +0000 (19:17 +0100)]
avformat/fitsenc: validate input pixel format

Fixes CID #1416961 and #1416962

6 years agolavfi/paletteuse: check get_color return value
Timo Rothenpieler [Wed, 8 Nov 2017 18:17:45 +0000 (19:17 +0100)]
lavfi/paletteuse: check get_color return value

Fixes CID #1420396

6 years agoavcodec/nvdec: fix return value on error
Timo Rothenpieler [Sun, 12 Nov 2017 20:04:57 +0000 (21:04 +0100)]
avcodec/nvdec: fix return value on error

6 years agoavcodec/nvdec: warn about thread count if applicable
Timo Rothenpieler [Sun, 12 Nov 2017 17:09:31 +0000 (18:09 +0100)]
avcodec/nvdec: warn about thread count if applicable

6 years agoavcodec: implement vp9 nvdec hwaccel
Timo Rothenpieler [Sat, 11 Nov 2017 20:19:07 +0000 (21:19 +0100)]
avcodec: implement vp9 nvdec hwaccel

6 years agoavformat/http: fix stray quote in trace logging
Aman Gupta [Mon, 13 Nov 2017 19:12:52 +0000 (11:12 -0800)]
avformat/http: fix stray quote in trace logging

Signed-off-by: Aman Gupta <aman@tmm1.net>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoMAINTAINERS: add myself as videotoolbox* maintainer
Aman Gupta [Sun, 12 Nov 2017 22:16:01 +0000 (14:16 -0800)]
MAINTAINERS: add myself as videotoolbox* maintainer

Reviewed-by: Rick Kern <kernrj@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavcodec/aacpsdsp_template: Fix integer overflows in ps_decorrelate_c()
Michael Niedermayer [Sun, 5 Nov 2017 20:20:08 +0000 (21:20 +0100)]
avcodec/aacpsdsp_template: Fix integer overflows in ps_decorrelate_c()

Fixes: runtime error: signed integer overflow: 1939661764 - -454942263 cannot be represented in type 'int'
Fixes: 3191/clusterfuzz-testcase-minimized-5688798451073024
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavcodec/aacdec_fixed: Fix undefined shift
Michael Niedermayer [Sun, 5 Nov 2017 20:20:07 +0000 (21:20 +0100)]
avcodec/aacdec_fixed: Fix undefined shift

Fixes: runtime error: left shift of negative value -801112064
Fixes: 3492/clusterfuzz-testcase-minimized-5784775283441664
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavcodec/mdct_*: Fix integer overflow in addition in RESCALE()
Michael Niedermayer [Sun, 5 Nov 2017 20:20:06 +0000 (21:20 +0100)]
avcodec/mdct_*: Fix integer overflow in addition in RESCALE()

Fixes: runtime error: signed integer overflow: 1219998458 - -1469874012 cannot be represented in type 'int'
Fixes: 3443/clusterfuzz-testcase-minimized-5369987105554432
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavcodec/snowdec: Fix integer overflow in header parsing
Michael Niedermayer [Sun, 5 Nov 2017 20:20:05 +0000 (21:20 +0100)]
avcodec/snowdec: Fix integer overflow in header parsing

Fixes: 3984/clusterfuzz-testcase-minimized-5265759929368576
Fixes: runtime error: signed integer overflow: -1085585801 + -1094995529 cannot be represented in type 'int'
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoFix missing used attribute for inline assembly variables
Thomas Köppe [Sun, 12 Nov 2017 16:24:37 +0000 (16:24 +0000)]
Fix missing used attribute for inline assembly variables

Variables used in inline assembly need to be marked with attribute((used)).
Static constants already were, via the define of DECLARE_ASM_CONST.
But DECLARE_ALIGNED does not add this attribute, and some of the variables
defined with it are const only used in inline assembly, and therefore
appeared dead. This change adds a macro DECLARE_ASM_ALIGNED that marks
variables as used.

This change makes FFMPEG work with Clang's ThinLTO.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavfilter/vf_*_qsv: Fix flags
Michael Niedermayer [Sun, 12 Nov 2017 17:07:45 +0000 (18:07 +0100)]
avfilter/vf_*_qsv: Fix flags

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years agoavformat/img2enc: add frame_pts option for make output filename
Steven Liu [Mon, 13 Nov 2017 02:52:01 +0000 (10:52 +0800)]
avformat/img2enc: add frame_pts option for make output filename

fix ticket id: #1452
when use frame_pts option, the output image name can be set with PTS
of current frame.

Signed-off-by: Steven Liu <lq@onvideo.cn>
6 years agoavformat/hlsenc: allocate space for terminating null
Timo Rothenpieler [Mon, 13 Nov 2017 02:44:16 +0000 (10:44 +0800)]
avformat/hlsenc: allocate space for terminating null

Fixes CID #1420394

6 years agoconfigure: fix writing library dependencies to config.sh
James Almer [Mon, 13 Nov 2017 01:59:34 +0000 (22:59 -0300)]
configure: fix writing library dependencies to config.sh

Signed-off-by: James Almer <jamrial@gmail.com>
6 years agolavf/tls_securetransport: build on iOS
Aman Gupta [Wed, 25 Oct 2017 18:03:14 +0000 (11:03 -0700)]
lavf/tls_securetransport: build on iOS

This works as expected on iOS, except for the ca_file feature which
is disabled because SecItemImport is not available.

Signed-off-by: Aman Gupta <aman@tmm1.net>
6 years agoavformat/ty: check cur_chunk_pos before using it
Paul B Mahol [Sun, 12 Nov 2017 21:57:06 +0000 (22:57 +0100)]
avformat/ty: check cur_chunk_pos before using it

Fixes #6831.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavformat/ty: fix memory leaks
Paul B Mahol [Sun, 12 Nov 2017 19:38:30 +0000 (20:38 +0100)]
avformat/ty: fix memory leaks

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavformat/ty: check if header is correctly parsed and is still present
Paul B Mahol [Sun, 12 Nov 2017 19:26:42 +0000 (20:26 +0100)]
avformat/ty: check if header is correctly parsed and is still present

Fixes #6829.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agovideotoolbox: add frame_params support
wm4 [Tue, 31 Oct 2017 14:12:24 +0000 (15:12 +0100)]
videotoolbox: add frame_params support

Allows decoding with API users which require this API.

Reviewed-by: Aman Gupta <ffmpeg@tmm1.net>
6 years agoavfilter/vf_tile: add overlap option
Paul B Mahol [Tue, 7 Nov 2017 18:41:06 +0000 (19:41 +0100)]
avfilter/vf_tile: add overlap option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavcodec/mpeg2_metadata_bsf: fix the AVClass version number
James Almer [Sat, 11 Nov 2017 04:46:01 +0000 (01:46 -0300)]
avcodec/mpeg2_metadata_bsf: fix the AVClass version number

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: jkqxz
Signed-off-by: James Almer <jamrial@gmail.com>
6 years agoavcodec/h265_metadata_bsf: fix the AVClass version number
James Almer [Sat, 11 Nov 2017 04:45:46 +0000 (01:45 -0300)]
avcodec/h265_metadata_bsf: fix the AVClass version number

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: jkqxz
Signed-off-by: James Almer <jamrial@gmail.com>
6 years agoavcodec/h264_metadata_bsf: fix the AVClass version number
James Almer [Sat, 11 Nov 2017 04:45:37 +0000 (01:45 -0300)]
avcodec/h264_metadata_bsf: fix the AVClass version number

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: jkqxz
Signed-off-by: James Almer <jamrial@gmail.com>
6 years agohwcontext_vaapi: Fix build with libva 2.0
Mark Thompson [Sun, 12 Nov 2017 15:20:45 +0000 (15:20 +0000)]
hwcontext_vaapi: Fix build with libva 2.0

vaExportSurfaceHandle() wasn't included in the 2.0 release.

Fixes ticket #6828.

6 years agoavcodec/nvdec: add support for 12 bit formats
Timo Rothenpieler [Sat, 11 Nov 2017 14:07:41 +0000 (15:07 +0100)]
avcodec/nvdec: add support for 12 bit formats

6 years agoavcodec/nvdec: check hardware capabilities
Timo Rothenpieler [Sat, 11 Nov 2017 15:08:53 +0000 (16:08 +0100)]
avcodec/nvdec: check hardware capabilities

6 years agoavcodec/nvdec: don't add thread buffer twice
Timo Rothenpieler [Sun, 12 Nov 2017 14:15:55 +0000 (15:15 +0100)]
avcodec/nvdec: don't add thread buffer twice

This is already added to the initial pool size in ff_decode_get_hw_frames_ctx,
so adding it here again increases the amount of surfaces needlessly.

6 years agoMAINTAINERS: update for cuvid/nvdec changes
Timo Rothenpieler [Sat, 11 Nov 2017 13:48:37 +0000 (14:48 +0100)]
MAINTAINERS: update for cuvid/nvdec changes

6 years agolavf/dashdec: Fix several memleaks.
Carl Eugen Hoyos [Sun, 12 Nov 2017 14:20:22 +0000 (22:20 +0800)]
lavf/dashdec: Fix several memleaks.

6 years agoRevert "lavf/dashdec: Fix several memleaks."
Steven Liu [Sun, 12 Nov 2017 14:19:28 +0000 (22:19 +0800)]
Revert "lavf/dashdec: Fix several memleaks."

This reverts commit e7fe5e511aaeb3b8d949706b7f8620042cdfbd6c.

6 years agoavfilter/vf_hysteresis: allow using framesync options
Paul B Mahol [Sun, 12 Nov 2017 10:48:52 +0000 (11:48 +0100)]
avfilter/vf_hysteresis: allow using framesync options

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavfilter/vf_maskedmerge: ignore SAR from all inputs
Paul B Mahol [Sun, 12 Nov 2017 10:43:06 +0000 (11:43 +0100)]
avfilter/vf_maskedmerge: ignore SAR from all inputs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavfilter/vf_lut2: ignore SAR from all inputs
Paul B Mahol [Sun, 12 Nov 2017 10:40:49 +0000 (11:40 +0100)]
avfilter/vf_lut2: ignore SAR from all inputs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavfilter/vf_blend: ignore SAR from all inputs
Paul B Mahol [Sun, 12 Nov 2017 10:39:16 +0000 (11:39 +0100)]
avfilter/vf_blend: ignore SAR from all inputs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavfilter/vf_hysteresis: ignore SAR from all inputs
Paul B Mahol [Sun, 12 Nov 2017 10:35:32 +0000 (11:35 +0100)]
avfilter/vf_hysteresis: ignore SAR from all inputs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoavfilter/vf_maskedclamp: ignore SAR from all inputs
Paul B Mahol [Sun, 12 Nov 2017 10:19:19 +0000 (11:19 +0100)]
avfilter/vf_maskedclamp: ignore SAR from all inputs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoMerge commit '5c22c90c1d5050f1206e46494b193320ac2397cb'
James Almer [Sun, 12 Nov 2017 04:14:52 +0000 (01:14 -0300)]
Merge commit '5c22c90c1d5050f1206e46494b193320ac2397cb'

* commit '5c22c90c1d5050f1206e46494b193320ac2397cb':
  vp9_superframe_bsf: cache packets by creating new references instead of moving pointers

See 37f4a093f7f95241e4fcd582758504491e85e488
7a02b364b68c0bf7f065f5c217fae458f0efdb8d

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '0ccddbad200c1d9439c5a836501917d515cddf76'
James Almer [Sun, 12 Nov 2017 04:13:07 +0000 (01:13 -0300)]
Merge commit '0ccddbad200c1d9439c5a836501917d515cddf76'

* commit '0ccddbad200c1d9439c5a836501917d515cddf76':
  smacker: limit recursion depth of smacker_decode_bigtree

See 946ecd19ea752399bccc751c9339ff74b815587e

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit 'cd4663dc80323ba64989d0c103d51ad3ee0e9c2f'
James Almer [Sun, 12 Nov 2017 04:08:10 +0000 (01:08 -0300)]
Merge commit 'cd4663dc80323ba64989d0c103d51ad3ee0e9c2f'

* commit 'cd4663dc80323ba64989d0c103d51ad3ee0e9c2f':
  smacker: add sanity check for length in smacker_decode_tree()

See b829da363985cb2f80130bba304cc29a632f6446

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '17b6c7efb471e8ff1b8a7271f6531ba1d52bf69c'
James Almer [Sun, 12 Nov 2017 04:02:02 +0000 (01:02 -0300)]
Merge commit '17b6c7efb471e8ff1b8a7271f6531ba1d52bf69c'

* commit '17b6c7efb471e8ff1b8a7271f6531ba1d52bf69c':
  build: Add missing config.sh dependency for pkg-config files

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '7ebe7e8e7a76c0ce302f4f583ef0d14220031214'
James Almer [Sun, 12 Nov 2017 03:59:58 +0000 (00:59 -0300)]
Merge commit '7ebe7e8e7a76c0ce302f4f583ef0d14220031214'

* commit '7ebe7e8e7a76c0ce302f4f583ef0d14220031214':
  build: Remove pkg-config files on clean instead of on distclean

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit 'fbf77b5ac37bf2a807d8336450801d7aecf2e359'
James Almer [Sun, 12 Nov 2017 03:56:25 +0000 (00:56 -0300)]
Merge commit 'fbf77b5ac37bf2a807d8336450801d7aecf2e359'

* commit 'fbf77b5ac37bf2a807d8336450801d7aecf2e359':
  build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit 'fbca6e7d162b9a7105d1059826dfe96616fa803a'
James Almer [Sun, 12 Nov 2017 03:54:37 +0000 (00:54 -0300)]
Merge commit 'fbca6e7d162b9a7105d1059826dfe96616fa803a'

* commit 'fbca6e7d162b9a7105d1059826dfe96616fa803a':
  matroskadec: allow RealAudio/Cook/Sipro streams of flavor 0

This commit is a noop, see 0d944ee34349805b29f9c91b15c8009d16df01ab

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '8e0febe28effe7f427e45190eab37110126161ea'
James Almer [Sun, 12 Nov 2017 03:51:21 +0000 (00:51 -0300)]
Merge commit '8e0febe28effe7f427e45190eab37110126161ea'

* commit '8e0febe28effe7f427e45190eab37110126161ea':
  configure: Use right variable and right value for AIX ar flags

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '22241208eb7d0168b2afc128af5a128a9ef0a89b'
James Almer [Sun, 12 Nov 2017 03:50:24 +0000 (00:50 -0300)]
Merge commit '22241208eb7d0168b2afc128af5a128a9ef0a89b'

* commit '22241208eb7d0168b2afc128af5a128a9ef0a89b':
  avconv.c: fix calculation of input file duration in seek_to_start()

This commit is a noop, see 3ddb887c88483ce089b29a30d0d0aa574c8cdc66

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '55fe72a841ba306370e68e86c88f34b4456aa4dd'
James Almer [Sun, 12 Nov 2017 03:46:52 +0000 (00:46 -0300)]
Merge commit '55fe72a841ba306370e68e86c88f34b4456aa4dd'

* commit '55fe72a841ba306370e68e86c88f34b4456aa4dd':
  matroskadec: don't warn about unknown spherical medata when none is present

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '1746c7c8f2f9a6c5eacb486426dd0a579b4b7498'
James Almer [Sun, 12 Nov 2017 03:44:26 +0000 (00:44 -0300)]
Merge commit '1746c7c8f2f9a6c5eacb486426dd0a579b4b7498'

* commit '1746c7c8f2f9a6c5eacb486426dd0a579b4b7498':
  libspeexenc: Use speex_lib_get_mode instead of the speex_foo_mode data symbols

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '2cf3c0ab0d84b5cdb379059f8570809a13a306b9'
James Almer [Sun, 12 Nov 2017 03:43:08 +0000 (00:43 -0300)]
Merge commit '2cf3c0ab0d84b5cdb379059f8570809a13a306b9'

* commit '2cf3c0ab0d84b5cdb379059f8570809a13a306b9':
  Revert "configure: Detect AIX ar command instead of hardcoding it in the OS section"

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '9b0aff51a7ae03215c4e1a3e7220fdbcfb858b08'
James Almer [Sun, 12 Nov 2017 03:40:18 +0000 (00:40 -0300)]
Merge commit '9b0aff51a7ae03215c4e1a3e7220fdbcfb858b08'

* commit '9b0aff51a7ae03215c4e1a3e7220fdbcfb858b08':
  configure: Simplify MIPS instruction set handling

This commit is a noop.

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '192fe52e42f64a493c47cad1461b20fe1149dbea'
James Almer [Sun, 12 Nov 2017 03:39:41 +0000 (00:39 -0300)]
Merge commit '192fe52e42f64a493c47cad1461b20fe1149dbea'

* commit '192fe52e42f64a493c47cad1461b20fe1149dbea':
  configure: Miscellaneous minor changes to config file handling

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '14bba662d489a58fe88240fc4d14238bf17ca203'
James Almer [Sun, 12 Nov 2017 03:38:55 +0000 (00:38 -0300)]
Merge commit '14bba662d489a58fe88240fc4d14238bf17ca203'

* commit '14bba662d489a58fe88240fc4d14238bf17ca203':
  configure: Remove unused apply() helper function

This commit is a noop.

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '61a17423d3711cb34a18b44e1ec2510c2f70a56c'
James Almer [Sun, 12 Nov 2017 03:38:09 +0000 (00:38 -0300)]
Merge commit '61a17423d3711cb34a18b44e1ec2510c2f70a56c'

* commit '61a17423d3711cb34a18b44e1ec2510c2f70a56c':
  configure: Miscellaneous small changes to helper functions

Merged-by: James Almer <jamrial@gmail.com>
6 years agolavc/jpeg2000dec: Fix used variables reading palette.
Carl Eugen Hoyos [Sun, 12 Nov 2017 03:29:06 +0000 (04:29 +0100)]
lavc/jpeg2000dec: Fix used variables reading palette.

Affected files with palette and colour-depth < 8.

6 years agoMerge commit '67c72f08a4707c18a67a4734660e3a23cc9488b6'
James Almer [Sun, 12 Nov 2017 03:20:34 +0000 (00:20 -0300)]
Merge commit '67c72f08a4707c18a67a4734660e3a23cc9488b6'

* commit '67c72f08a4707c18a67a4734660e3a23cc9488b6':
  configure: Stop using dlltool to create an import library

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '91760a934055ab06812885ab5ec1a97a8db6d217'
James Almer [Sun, 12 Nov 2017 03:17:23 +0000 (00:17 -0300)]
Merge commit '91760a934055ab06812885ab5ec1a97a8db6d217'

* commit '91760a934055ab06812885ab5ec1a97a8db6d217':
  dashenc: copy stream frame rate to output stream

This commit is a noop, see 3c838e6442bbe1afb7bf82942471342bcea87a27

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '4723c6226aa1ece4099338cc9b38a9cef4fa4846'
James Almer [Sun, 12 Nov 2017 03:15:57 +0000 (00:15 -0300)]
Merge commit '4723c6226aa1ece4099338cc9b38a9cef4fa4846'

* commit '4723c6226aa1ece4099338cc9b38a9cef4fa4846':
  dashenc: fix bitrate estimation with correct scaling

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '0e702124ee149593168cbbb7b30376249a64ae66'
James Almer [Sun, 12 Nov 2017 02:47:50 +0000 (23:47 -0300)]
Merge commit '0e702124ee149593168cbbb7b30376249a64ae66'

* commit '0e702124ee149593168cbbb7b30376249a64ae66':
  doc: Provide better examples for hls and segment muxing

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '9dc79b2943d99f256a3279f09580b27a95fb9aa8'
James Almer [Sun, 12 Nov 2017 02:43:36 +0000 (23:43 -0300)]
Merge commit '9dc79b2943d99f256a3279f09580b27a95fb9aa8'

* commit '9dc79b2943d99f256a3279f09580b27a95fb9aa8':
  configure: Drop support for legacy PGI compiler

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '0af8a72174108b9bb482f1073a1e9a3bc258af51'
James Almer [Sun, 12 Nov 2017 02:41:35 +0000 (23:41 -0300)]
Merge commit '0af8a72174108b9bb482f1073a1e9a3bc258af51'

* commit '0af8a72174108b9bb482f1073a1e9a3bc258af51':
  build: Drop support for legacy TI ARM compiler

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '2708c8e8efefaad337ccab1e3bf59dcde66c6bc5'
James Almer [Sun, 12 Nov 2017 02:35:00 +0000 (23:35 -0300)]
Merge commit '2708c8e8efefaad337ccab1e3bf59dcde66c6bc5'

* commit '2708c8e8efefaad337ccab1e3bf59dcde66c6bc5':
  hwcontext_vaapi: Set message callbacks on internally-created devices
  vaapi: Always free parameter buffers after vaEndPicture() with libva2
  vaapi: Remove H.264 baseline profile
  configure: Add config option for libva2 (VAAPI 1)
  vaapi: Disable deprecation warnings around use of struct vaapi_context

This commit is a noop, see
375cf55fe9f574e42bd3519f08993125ac66c725
9c7a71145b88e56cb5f67c66f6d27c20c8d06165
bd211bb866f8bf5c372589fc44dc06d1a9509c0a
e339411691e3671b595e556ba3411c1acb8c4692
f3602875b3255c533900df1c7bb4e78ef5e1ce08

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit 'b487add7ecf78efda36d49815f8f8757bd24d4cb'
James Almer [Sun, 12 Nov 2017 02:30:31 +0000 (23:30 -0300)]
Merge commit 'b487add7ecf78efda36d49815f8f8757bd24d4cb'

* commit 'b487add7ecf78efda36d49815f8f8757bd24d4cb':
  arm: Remove a redundant check in fmtconvert_init_arm.c

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '17f5171cd4753e7f50e6d95df069bccbc90265bf'
James Almer [Sun, 12 Nov 2017 02:29:52 +0000 (23:29 -0300)]
Merge commit '17f5171cd4753e7f50e6d95df069bccbc90265bf'

* commit '17f5171cd4753e7f50e6d95df069bccbc90265bf':
  arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfp
  lavc: fix hw_device_ctx operation

This commit is a noop, see
48e4eda11d537c6ed52d1000aaa6ce5cbb641e25
f1fd12ef858cf7efe843aa3063894a11b2d1e7d5

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '68649bfed30a35dc3e45ea240541b2774b2f282b'
James Almer [Sun, 12 Nov 2017 02:21:55 +0000 (23:21 -0300)]
Merge commit '68649bfed30a35dc3e45ea240541b2774b2f282b'

* commit '68649bfed30a35dc3e45ea240541b2774b2f282b':
  configure: Group system feature variables and system libraries together

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit 'cbcdb2d8e47f62f69accee62c08f487a27848174'
James Almer [Sun, 12 Nov 2017 02:15:09 +0000 (23:15 -0300)]
Merge commit 'cbcdb2d8e47f62f69accee62c08f487a27848174'

* commit 'cbcdb2d8e47f62f69accee62c08f487a27848174':
  build: Delete compiler-generated compat files on 'make clean'

See
d100dc6c9955af8b7a7a60a37a362a51c819222e
a2ca9e11ff7166cbbc0314d152702a201f6a14fb

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit '62be1caf161c1241a9e148f347850cfe092588dc'
James Almer [Sun, 12 Nov 2017 02:11:44 +0000 (23:11 -0300)]
Merge commit '62be1caf161c1241a9e148f347850cfe092588dc'

* commit '62be1caf161c1241a9e148f347850cfe092588dc':
  configure: Bail out early if neither static nor shared libs are built

Merged-by: James Almer <jamrial@gmail.com>
6 years agoMerge commit 'c6496de33456f20144b994ac38f308f2de333608'
James Almer [Sun, 12 Nov 2017 02:09:21 +0000 (23:09 -0300)]
Merge commit 'c6496de33456f20144b994ac38f308f2de333608'

* commit 'c6496de33456f20144b994ac38f308f2de333608':
  configure: Move enabling libc_type into probe_libc() function

Merged-by: James Almer <jamrial@gmail.com>