Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-02avcodec/hevcdsp_template: Fix undefined shift in put_hevc_epel_bi_w_h()Michael Niedermayer
Fixes: runtime error: left shift of negative value -127 Fixes: 4397/clusterfuzz-testcase-minimized-4779061080489984 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-12-02examples/vaapi_encode: Fix leak on hwframe init failureMark Thompson
Fixes CID #1424882.
2017-12-01mediacodecdec: fix build by including hwaccel.hJan Ekström
Enables the decoder to utilize the type AVCodecHWConfigInternal.
2017-12-01checkasm/utvideo : be more explicit to the WIDTH_PADDED defineMartin Vignali
2017-12-01avfilter: add fillborders filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-01avcodec/vorbis: Fix another 1 << 31 > int32_t::max() with 1u.Dale Curtis
Didn't notice this one when 9648cc6d was landed. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-12-01avfilter/vf_tile: add init_padding optionPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-12-01avcodec/h264_slice: use H264_SEI_FpaType enum constantsJames Almer
Cosmetic change. Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-01avcodec/h264_sei: remove redundant prefix to H264SEIFramePacking fieldsJames Almer
Cosmetic change. Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-01configure: Fix dependencies of aac_at decoder.Jacob Trimble
Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-01lavf/mov: fix huge alloc in mov_read_cttsJohn Stebbins
An invalid file may cause huge alloc. Delay expansion of ctts entries until the number of samples is known in mov_build_index. Fixes: 23 Found-by: zhao dongzhuo, AD-lab of Venustech Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-30lavfi/libvmaf: Rename local variable "main" as "master".Carl Eugen Hoyos
Fixes the following warning: libavfilter/vf_libvmaf.c:179:14: warning: 'main' is usually a function Missed in 5d3e9357
2017-11-30configure: select vp9_superframe_split_bsf when enabling vp9_decoderJames Almer
This is required since a5679933c1b8b6bef5c5c3eb7c70d06c695066cf Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-30avformat/avc: support writting more than one sps/pps in ff_isom_write_avccJames Almer
Addresses ticket #6864 Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-30avformat/avc: free buffer in ff_isom_write_avcc on failureJames Almer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-30avformat/avc: reindent after the last commitJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-30avformat/avc: refactor ff_isom_write_avccJames Almer
This lets us remove one indentation level. Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-30avformat/avc: return an error in ff_isom_write_avcc if the buffer lenght is ↵James Almer
too small Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-30avformat/dashenc: Option to generate hls playlist as wellKarthick J
This is to take full advantage of Common Media Application Format(CMAF). Now server can generate one content and serve both HLS and DASH players. Reviewed-by: Steven Liu <lq@onvideo.cn>
2017-11-30avformat/hlsenc: Refactored 'get_int_from_double' function to allow reuseKarthick J
2017-11-30avcodec/dnxhddec: Do not overwrite colorspace if the container has set it.Steven Robertson
The existing logic overrides container metadata even in cases where the container metadata must be trusted (e.g. HDR). The original spec had no provision for specifying color volume, so many files rely on the assumption of Rec. 709. An update to the spec included a 'clv' field for explicitly signaling that the container should be trusted in an existing bitfield in the frame header, but the default of 0 from old encoders forces Rec. 709, which would break any HDR stream. Because there is no place in DNxHR for specifying a transfer function, DNxHR HDR files must include container-level color information. This patch maintains the existing behavior of choosing the 709 over the 601 matrix when container-level information is missing, and allows container-level information to win if present. Signed-off-by: Steven Robertson <steven@strobe.cc> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-30Merge commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa'James Almer
* commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa': stereo3d: Support view type for frame sequence type Merged-by: James Almer <jamrial@gmail.com>
2017-11-30Merge commit '45d7be7f930cf707ead07416e10e2d0e061e99ce'James Almer
* commit '45d7be7f930cf707ead07416e10e2d0e061e99ce': prores: Always assume limited range This commit is a noop, see 755207dc53d6d18a4a9e07ffb0d3a10f75836f79 Merged-by: James Almer <jamrial@gmail.com>
2017-11-30Merge commit 'b843b343d8a3210ae37a2342b1904a5bd1e5fc6e'James Almer
* commit 'b843b343d8a3210ae37a2342b1904a5bd1e5fc6e': qsvenc: cavlc option is only available for h264 Merged-by: James Almer <jamrial@gmail.com>
2017-11-30examples/hw_decode: Use hw-config information to find pixfmtMark Thompson
This removes all remaining device-type specificity.
2017-11-30lavc/samidec: properly raise errors from sami_paragraph_to_ass()Clément Bœsch
2017-11-30avcodec/samidec: check av_strdup() return valuePan Bian
In function sami_paragraph_to_ass(), the return value of av_strdup() is not checked. To avoid potential NULL dereference, the return value should be checked against NULL. Signed-off-by: Pan Bian <bianpan2016@163.com>
2017-11-29avcodec/amfenc: move config.h include where it's neededJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-29vp9_parser: don't split superframes into separate packetswm4
We did this for the sake of the decoder. With the vp9 change, it's not necessary anymore.
2017-11-29vp9: use superframe split BSFwm4
webm usually has invisible superframes merged with normal frames. (vpxenc muxes them in this form, which is evidence enough that this is the standard webm packet format. It's rather unclear whether ffmpeg is even allowed to remux them with split packets.) The vp9 decoder needs them to be in separate packets for multithreading to work. Add the BSF to the decoder, so the conversion happens automatically. This contains the important part of fa1749dd34c55fb9, which was apparently skipped in commit d417e95af76. This restores Libav API compatibility.
2017-11-29avformat/hlsplaylist: add missing header includesJames Almer
Fixes checkheaders. Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-29avformat/hlsplaylist: fix header include guardJames Almer
Fixes fate-source Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-29avformat/hlsenc: Modularized playlist creation to allow reuseKarthick J
2017-11-29avcodec/nvenc: set correct error codePan Bian
In function process_output_surface(), the return value is 0 on the path that av_mallocz() returns a NULL pointer. 0 indicates success, which deviates from the fact. Return "AVERROR(ENOMEM)" instead of "0". Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2017-11-29libavformat/hlsenc: Persistent HTTP connections supported as an optionJeyapal, Karthick
2017-11-29libavformat/http: Handled multiple_requests option during writeJeyapal, Karthick
2017-11-29libavformat/avio: Utility function to return URLContextJeyapal, Karthick
2017-11-29Don't manipulate duration when it's AV_NOPTS_VALUE.Dale Curtis
This leads to signed integer overflow. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-29avformat/oggparseopus: Free opus extradata before reallocating.Dale Curtis
Otherwise ff_alloc_extradata() just leaks any existing allocated memory. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-29libvpxenc,vp9: add corpus-complexity optionJames Zern
Corpus VBR mode is a variant of standard VBR where the complexity distribution midpoint is passed in rather than calculated for a specific clip or chunk. The valid range is [0, 10000]. 0 (default) uses standard VBR. Signed-off-by: James Zern <jzern@google.com>
2017-11-29ffmpeg_opt: Constify hwaccel pointer.Carl Eugen Hoyos
Fixes a warning: fftools/ffmpeg_opt.c:804:29: warning: assignment discards ‘const’ qualifier from pointer target type
2017-11-29Add HW H.264 and HEVC encoding for AMD GPUs based on AMF SDKMikhail Mironov
Requires AMF headers for at least version 1.4.4.1. Signed-off-by: Mikhail Mironov <mikhail.mironov@amd.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
2017-11-29examples: Add a VA-API encode example.Jun Zhao
Supports only raw NV12 input. Example use: ./vaapi_encode 1920 1080 test.yuv test.h264 Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
2017-11-29Changelog: add VAAPI VP8 decoderMark Thompson
2017-11-28avformat/mov: return correct value in mov_read_cmovPan Bian
On some failure paths, the error code is not correctly set. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-28avformat/mov: set correct error code in mov_read_customPan Bian
In function mov_read_custom(), it returns 0 on the path that av_malloc() returns a NULL pointer. 0 indicates success. An error code should be assigned to ret. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-28avformat/mxfenc: pass MXFPackage around instead of typeMark Reid
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-28avcodec: set correct return value in ff_mpeg_ref_picturePan Bian
In function ff_mpeg_ref_picture(), it returns 0 on the error path that the return value of av_buffer_ref() is NULL. 0 indicates success, which seems to deviate from the fact. Set ret to AVERROR(ENOMEM) to propagate the error status to the callers. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-28Free extradata before reallocating.Dale Curtis
Otherwise ff_alloc_extradata() just leaks any existing allocated memory. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-28avfilter/drawbox: rename variable for maximum thicknessGyan Doshi
The present value name for maximum thickness is 'max' which results in a parse error of any thickness expression containing 'max(val1,val2)'. Value renamed to 'fill'. Tested locally and documented. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>