summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* avfilter/vf_framerate: change blend factor precisionMarton Balint2018-01-284-111/+109
| | | | | | | | | | | | | This is done mainly in preparation for the SIMD patches. - for the 8-bit input, decrease the blend factor precision to 7-bit. - for the 16-bit input, increase the blend factor precision to 15-bit. - make sure the blend functions are not called with 0 or maximum blending factors, because we don't want the signed factor integers to overflow. Fate test changes are due to different rounding. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_framerate: factorize blend functions and unify filter_sliceMarton Balint2018-01-281-51/+57
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_framerate: unify luma and chroma blendingMarton Balint2018-01-281-45/+15
| | | | | | The expressions were mathematically equvivalent... Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: test the transpose filter more fullyMichael Niedermayer2018-01-282-0/+111
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_transpose: Fix regression with packed pixel formatsMichael Niedermayer2018-01-281-1/+1
| | | | | | | Regression since: c6939f65a116b1ffed345d29d8621ee4ffb32235 Found-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/nvenc: also clear data pointer after unregistering a resourceTimo Rothenpieler2018-01-281-0/+2
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: add some more error case checksTimo Rothenpieler2018-01-281-6/+18
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: unregister input resource when unmappingTimo Rothenpieler2018-01-281-0/+2
| | | | | | | | | | Currently the resource is only ever unregistered when the registered_frames array is fully in use and an unmapped entry is re-used and cleaned up. I'm pretty sure the frame will have been cleaned up before that happens, so I'm kinda surprised this never blew up. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/nvenc: refcount input frame mappingsTimo Rothenpieler2018-01-282-17/+24
| | | | | | | | If some logic like vsync in ffmpeg.c duplicates frames, it might pass the same frame twice, which will result in a crash due it being effectively mapped and unmapped twice. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/hevc_cabac: Check prefix so as to avoid invalid shifts in ↵Michael Niedermayer2018-01-271-1/+1
| | | | | | | | | | | | | coeff_abs_level_remaining_decode() I suspect that this can be limited tighter, but i failed to find anything in the spec that would confirm that. Fixes: 4833/clusterfuzz-testcase-minimized-5302840101699584 Fixes: runtime error: left shift of 134217730 by 4 places 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>
* avcodec/mjpegdec: Fix integer overflow in DC dequantizationMichael Niedermayer2018-01-271-1/+1
| | | | | | | | Fixes: runtime error: signed integer overflow: -65535 * 65312 cannot be represented in type 'int' Fixes: 4900/clusterfuzz-testcase-minimized-5769019744321536 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_transpose: Fix used plane count.Michael Niedermayer2018-01-271-1/+7
| | | | | | | | Fixes out of array access Fixes: poc.mp4 Found-by: GwanYeong Kim <gy741.kim@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* hls: don't print a certain warning if playlist loading is abortedwm42018-01-271-2/+3
| | | | | | AVERROR_EXIT happens when the user's interrupt callback signals that playback should be aborted. In this case, the demuxer shouldn't print a warning, as it's expected that all network accesses are stopped.
* avformat, hls: add a flag to signal unavailability of seekingwm42018-01-274-4/+16
| | | | | | The seek function can just return an error if seeking is unavailable, but often this is too late. Add a flag that signals that the stream is unseekable, and use it in HLS.
* hls: do not allow fallback to generic seekingwm42018-01-271-0/+1
| | | | | | This makes little sense due to how HLS works, and only causes some additional annoyances if the HLS read_seek function fails (for example if it's a live stream). It was most likely unintended.
* lavc/aarch64/sbrdsp_neon: fix build on old binutilsRodger Combs2018-01-261-1/+1
|
* avformat/dashenc: Signal http end of chunk(http_shutdown) explicitlyKarthick Jeyapal2018-01-261-0/+3
| | | | | | Currently http end of chunk is signalled implicitly in dashenc_io_open(). This mean playlists http writes would have to wait upto a segment duration to signal end of chunk causing delays. This patch will fix that problem and improve performance.
* avformat/dashenc: Fix a resource leak when http persistent in enabledKarthick Jeyapal2018-01-261-0/+4
|
* lavfi/misc_vaapi: use default value setting if without arguments.Jun Zhao2018-01-251-34/+30
| | | | | Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* lavfi/procamp_vaapi: fix the green video issue if without arguments.Jun Zhao2018-01-251-42/+31
| | | | | | | | | Fix the green output issue when use procamp_vaapi without any arguments, now if use procamp_vaapi without any arguments, will use the default value to setting procamp_vaapi. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* ffmpeg: Ignore SIGPIPEMark Thompson2018-01-251-0/+3
| | | | | | | | | | | | | On systems which deliver SIGPIPE (Unices), a broken pipe will currently result in the immediate termination of the ffmpeg process (the default disposition as required by POSIX). This is undesirable, because while the broken pipe is likely fatal to useful cleanup of whatever component is writing to it, there might be other components which can do useful cleanup - for example, a muxer on another stream may still need to write indexes to complete a file. Therefore, set the signal disposition for SIGPIPE to ignore the signal - the call which caused the signal will fail with EPIPE and the error will be propagated upwards like any other I/O failure on a single stream.
* Merge commit '559370f2c45110afd8308eec7194437736c323d4'Mark Thompson2018-01-251-1/+5
|\ | | | | | | | | | | | | * commit '559370f2c45110afd8308eec7194437736c323d4': qsv: Skip the packet if decoding failure Merged-by: Mark Thompson <sw@jkqxz.net>
| * qsv: Skip the packet if decoding failureRuiling, Song2018-01-251-1/+5
| | | | | | | | | | | | | | | | | | MediaSDK may fail to decode some frame, just skip it. Otherwise, it will keep decoding the failure packet repeatedly without processing any packet afterwards. Signed-off-by: Ruiling Song <ruiling.song@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'a2a9e4eea0e4fde2ed8d3405b4f33f655b600c2d'Mark Thompson2018-01-250-0/+0
|\ \ | |/ | | | | | | | | | | | | | | * commit 'a2a9e4eea0e4fde2ed8d3405b4f33f655b600c2d': rtmp: Plug leak if sending bytes read report fails. This commit is a noop, see ee88f31d34c848fd95daf12bdf054b7228efdf14 Merged-by: Mark Thompson <sw@jkqxz.net>
| * rtmp: Plug leak if sending bytes read report fails.Josh Allmann2018-01-241-1/+3
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '85e10c0a9321bfe0d2afe0f3983ab6a8df6e3fba'Mark Thompson2018-01-251-1/+1
|\ \ | |/ | | | | | | | | | | * commit '85e10c0a9321bfe0d2afe0f3983ab6a8df6e3fba': intreadwrite: Use __unaligned in MSVC for ARM64 as well Merged-by: Mark Thompson <sw@jkqxz.net>
| * intreadwrite: Use __unaligned in MSVC for ARM64 as wellMartin Storsjö2018-01-161-1/+1
| | | | | | | | | | | | | | This attribute is supported for this architecture in MSVC as well (but produces errors if used for 32 bit x86). Signed-off-by: Martin Storsjö <martin@martin.st>
* | libavformat/rtmpproto: Plug leak if sending bytes read report fails.Josh Allmann2018-01-251-1/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavfi/vf_xxx_vaapi: fix typo.Jun Zhao2018-01-244-5/+5
| | | | | | | | Signed-off-by: Jun Zhao <jun.zhao@intel.com>
* | avformat/hlsenc: closed caption tags in the master playlistVishwanath Dixit2018-01-245-5/+196
| |
* | avformat: add option to parse/store ID3 PRIV tags in metadata.Richard Shaffer2018-01-245-1/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables getting access to ID3 PRIV tags from the command-line or metadata API when demuxing. The PRIV owner is stored as the metadata key prepended with "id3v2_priv.", and the data is stored as the metadata value. As PRIV tags may contain arbitrary data, non-printable characters, including NULL bytes, are escaped as \xXX. Similarly, any metadata tags that begin with "id3v2_priv." are inserted as ID3 PRIV tags into the output (assuming the format supports ID3). \xXX sequences in the value are un-escaped to their byte value. Signed-off-by: wm4 <nfxjfg@googlemail.com>
* | avfilter/Makefile: skip compiling vaapi_vpp.h when vaapi is not enabledJames Almer2018-01-231-0/+1
| | | | | | | | | | | | Fixes make checkheaders Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: fix vaapi_encode_example dependenciesJames Almer2018-01-231-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | MAINTAINERS: Add dashenc maintainerKarthick Jeyapal2018-01-241-0/+1
| | | | | | | | | | | | | | | | If somebody else wants to maintain dashenc either now or in future, I am absolutely fine with giving up this responsibility anytime. But till then we need a maintainer for dashenc, and I am volunteering for that task. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dxtory: Fix bits left checksMichael Niedermayer2018-01-231-5/+5
| | | | | | | | | | | | | | | | Fixes: Timeout Fixes: 4863/clusterfuzz-testcase-6347354178322432 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/hevc_cabac: Move prefix check in coeff_abs_level_remaining_decode() downMichael Niedermayer2018-01-231-4/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/aes_ctr: Add method to set 16-byte IV.Jacob Trimble2018-01-234-2/+16
| | | | | | | | | | Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: v4l2_context: remove unnecessary codeJorge Ramirez-Ortiz2018-01-231-3/+1
| | | | | | | | | | | | Fixes CID 1418358 Signed-off-by: Jorge Ramirez-Ortiz <jramirez@baylibre.com>
* | v4l2_m2m: Fix integer overflow in timestamp handlingMark Thompson2018-01-221-1/+2
| |
* | avcodec/mpeg12dec: fix preprocessor check for mpeg1_nvdec hwaccelJames Almer2018-01-211-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | v4l2_m2m: Fix free of the wrong pointer in an error pathMark Thompson2018-01-211-1/+1
| | | | | | | | Fixes CIDs #1427821 and #1427822.
* | lavfi: add denoise and sharpness VAAPI video filters.Jun Zhao2018-01-215-1/+300
| | | | | | | | | | | | | | | | | | Most code between them is common, so put them in a new file for miscellaneous VAAPI filters. Signed-off-by: Yun Zhou <yunx.z.zhou@intel.com> Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | lavfi: add ProcAmp (color balance) VAAPI video filter.Jun Zhao2018-01-215-0/+285
| | | | | | | | | | | | | | | | | | | | Add ProcAmp(color balance) vaapi video filter, use the option like -vf "procamp_vaapi=b=10:h=120:c=2.8:s=3.7" to set brightness/hue/contrast/saturation. Signed-off-by: Yun Zhou <yunx.z.zhou@intel.com> Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | lavfi: use common VAAPI VPP infrastructure for vf_deinterlace_vaapi.Jun Zhao2018-01-212-307/+46
| | | | | | | | | | Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | lavfi: use common VAAPI VPP infrastructure for vf_scale_vaapi.Jun Zhao2018-01-212-316/+42
| | | | | | | | | | Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | lavfi: VAAPI VPP common infrastructure.Jun Zhao2018-01-212-0/+461
| | | | | | | | | | | | | | | | Re-work the VAAPI common infrastructure to avoid code duplication between filters. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | avcodec/truemotion2: Fix integer overflow in TM2_RECALC_BLOCK()Michael Niedermayer2018-01-211-2/+2
| | | | | | | | | | | | | | | | Fixes: signed integer overflow: 1477974040 - -1877995504 cannot be represented in type 'int' Fixes: 4861/clusterfuzz-testcase-minimized-4570316383715328 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | MAINTAINERS: add myself for avcodec/v4l2_Jorge Ramirez-Ortiz2018-01-211-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/svq3: Do not write into memory defined as const.Carl Eugen Hoyos2018-01-211-4/+4
| | | | | | | | | | Fixes a warning on ppc: libavcodec/svq3.c:1055:21: warning: passing argument 1 of ‘av_write_bswap32’ discards 'const' qualifier from pointer target type
* | libavformat/dashdec: Fix for ticket 6856 (filename limited to 1024)Colin NG2018-01-211-31/+63
| |
OpenPOWER on IntegriCloud