- 20 6月, 2017 4 次提交
-
-
由 John Stebbins 提交于
-
由 John Stebbins 提交于
mux.c init_muxer() already sets codec_tag correctly in the cases simplified here. This also adds the capability to support alternative tags for the same codec_id.
-
由 John Stebbins 提交于
ff_mp4_obj_type contains the wrong type of tags for AVOutputFormat.codec_tag. AVOutputFormat.codec_tag is used to validate AVCodecParameters.codec_tag so needs to be the same type of tag. Creates new tag lists for mp4 and ismv. New tag lists support same list of codecs found in ff_mp4_obj_type. psp uses the same tag list as mp4 since these both use mp4_get_codec_tag to look up tags.
-
由 Memphiz 提交于
Properly use the b.eq/b.ge forms instead of the nonstandard forms (which both gas and newer clang accept though), and expand the register list that used a range (which the Xcode 6.2 clang, based on clang 3.5 svn, didn't support). Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 19 6月, 2017 4 次提交
-
-
由 Luca Barbato 提交于
Windows does not like symlinks and README.md is pretty common nowadays.
-
由 Martin Storsjö 提交于
When targeting the UWP API subset, the LoadLibrary function is not available (and the fallback, LoadPackagedLibrary, can't be used to load system DLLs). In these cases, link directly to the functions in the DLLs instead of trying to load them dynamically at runtime. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Mark Thompson 提交于
-
由 Mark Thompson 提交于
-
- 18 6月, 2017 8 次提交
-
-
由 Mark Thompson 提交于
-
由 Diego Biurrun 提交于
The handling of _select dependencies had two issues: 1) extralibs from _select dependencies of a component were not added to the list of extralibs for that component. 2) extralibs from dependencies were only added to the extralibs of a component if the component was enabled. This led to incorrect results if that component was enabled by another component later in the dependency resolution process. Instead, always generate the full list of component extralibs for use later in the dependency resolution process. Also remove a leftover unused variable.
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
This ensures that mmx_internal is only ever enabled on x86.
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
- 15 6月, 2017 1 次提交
-
-
由 Mark Thompson 提交于
-
- 14 6月, 2017 1 次提交
-
-
由 Michael Niedermayer 提交于
The timeDataSize argument to aacDecoder_DecodeFrame() seems undocumented and until 2016 04 (203e3f28fbebec7011342017fafc2a0bda0ce530) unused. After that commit libfdk-aacdec interprets it as size in sample units and memsets that on error. FFmpeg as well as others (like GStreamer) did interpret it as size in bytes. Fixes: 1442/clusterfuzz-testcase-minimized-4540199973421056 (This requires recent libfdk to reproduce) Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: NMartin Storsjö <martin@martin.st>
-
- 13 6月, 2017 3 次提交
-
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
Apple GCC has not been a thing anymore on PowerPC since many years.
-
- 12 6月, 2017 1 次提交
-
-
由 Diego Biurrun 提交于
-
- 10 6月, 2017 1 次提交
-
-
由 Srinath K R 提交于
AVCodecContext::refs is used to control the DPB size to be used by the encoder. The default value for AVCodecContext::refs as set in libavcodec/options_table.h is 1. This patch sets AVCodecContext::refs to 0 for h264_nvenc and hevc_nvenc in order to let the driver take the decision of the correct DPB size to use in all cases. Signed-off-by: NSrinath K R <skr@nvidia.com> Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
- 09 6月, 2017 5 次提交
-
-
由 wm4 提交于
This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Signed-off-by: NDiego Biurrun <diego@biurrun.de>
-
由 wm4 提交于
I want to make it non-mandatory to set a mutex in the D3D11 device context, and replacing it with user callbacks seems like the best solution. This is preparation for it. Also makes the code slightly more readable. Signed-off-by: NDiego Biurrun <diego@biurrun.de>
-
由 wm4 提交于
The actual hwaccel code will need to access an internal context instead of avctx->hwaccel_context, so add a new DXVA_CONTEXT() macro, that will dispatch between the "old" external and the new internal context. Also, the new API requires a new D3D11 pixfmt, so all places which check for the pixfmt need to be adjusted. Introduce a ff_dxva2_is_d3d11() function, which does the check. Signed-off-by: NDiego Biurrun <diego@biurrun.de>
-
由 wm4 提交于
So a hwaccel can access avctx->hwaccel in init for whatever reason. This is for the new d3d hwaccel API. We could create separate entrypoints for each of the 3 hwaccel types (dxva2, d3d11va, new d3d11va), but this seems nicer. Signed-off-by: NDiego Biurrun <diego@biurrun.de>
-
由 wm4 提交于
To be used with the new d3d11 hwaccel decode API. With the new hwaccel API, we don't want surfaces to depend on the decoder (other than the required dimension and format). The old D3D11VA pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the decoder configuration, and thus is incompatible with the new hwaccel API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D and an index. It's simpler and compatible with the new hwaccel API. The introduced hwcontext supports only the new pixfmt. Frame upload code untested. Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Signed-off-by: NDiego Biurrun <diego@biurrun.de>
-
- 06 6月, 2017 1 次提交
-
-
由 Diego Biurrun 提交于
Both libraries provide similar functionality and cannot be used together. When both are enabled one is used and the other ignored arbitrarily. Error out instead and have the user choose which library to use.
-
- 04 6月, 2017 4 次提交
-
-
由 Diego Biurrun 提交于
This allows for more graceful fallback from NASM to Yasm if the available NASM version is too old.
-
由 Diego Biurrun 提交于
-
由 Diego Biurrun 提交于
avtools/cmdutils.c:1234:28: warning: unused variable ‘pix_fmt’ [-Wunused-variable]
-
由 Diego Biurrun 提交于
The .version files are only relevant during an actual build.
-
- 03 6月, 2017 1 次提交
-
-
由 James Almer 提交于
This makes ubsan happy and also considerably increases performance on big endian systems. Tested on an IBM POWER7 3.55 GHz Before: 2.24user 0.14system 0:02.39elapsed 99%CPU (0avgtext+0avgdata 2624maxresident)k 2.26user 0.11system 0:02.38elapsed 99%CPU (0avgtext+0avgdata 2688maxresident)k 2.23user 0.15system 0:02.38elapsed 99%CPU (0avgtext+0avgdata 2624maxresident)k 2.25user 0.12system 0:02.38elapsed 100%CPU (0avgtext+0avgdata 2624maxresident)k 2.20user 0.15system 0:02.36elapsed 99%CPU (0avgtext+0avgdata 2624maxresident)k After: 1.86user 0.13system 0:02.00elapsed 99%CPU (0avgtext+0avgdata 2624maxresident)k 1.89user 0.11system 0:02.01elapsed 99%CPU (0avgtext+0avgdata 2624maxresident)k 1.85user 0.14system 0:02.00elapsed 99%CPU (0avgtext+0avgdata 2624maxresident)k 1.84user 0.15system 0:01.99elapsed 99%CPU (0avgtext+0avgdata 2624maxresident)k 1.89user 0.13system 0:02.02elapsed 99%CPU (0avgtext+0avgdata 2688maxresident)k Tested-by: NNicolas George <george@nsup.org> Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc> Signed-off-by: NJames Almer <jamrial@gmail.com> Signed-off-by: NSean McGovern <gseanmcg@gmail.com>
-
- 02 6月, 2017 1 次提交
-
-
由 Diego Biurrun 提交于
TLS is currently implemented over either OpenSSL or GnuTLS, with more backends likely to appear in the future. Currently, those backend libraries are part of the protocol names used during e.g. the configure stage of a build. Hide those details behind a generically-named declaration for the TLS protocol to avoid leaking those details into the configuration stage.
-
- 01 6月, 2017 4 次提交
-
-
由 Diego Biurrun 提交于
Return sensible error values and forward error codes.
-
由 Michael Niedermayer 提交于
Fixes out of array access Fixes: ce19e41f0ef1e52a23edc488faecdb58/asan_heap-oob_2504e97_4202_ffa0df1baed14022b9bfd4f8ac23d0cb.smk Bug-Id: CVE-2015-8365 CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 4a9af07a) Signed-off-by: NDiego Biurrun <diego@biurrun.de>
-
由 Martin Storsjö 提交于
If we for some unexplicable reason didn't pick up getaddrinfo at configure, the default, IPv4-only, fallback should be good enough. This effectively reverts 6023d84a. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This makes the getaddrinfo functions visible, which aren't normally by default on legacy mingw. We already force __MSVCRT_VERSION__ to an XP version. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 31 5月, 2017 1 次提交
-
-
由 Luca Barbato 提交于
Parse the playlist to recover the start sequence and previously generated segments and continue muxing from there. Mainly useful for near-seamless recovery in live scenarios.
-