Commit Graph

92978 Commits

Author SHA1 Message Date
Paul B Mahol dd7d6034f1 avfilter/vf_paletteuse: fix flags for alpha_threshold option 2018-12-11 17:55:05 +01:00
James Almer 9c49933a3e configure: require the first stable version of libdav1d
Signed-off-by: James Almer <jamrial@gmail.com>
2018-12-11 12:42:22 -03:00
Gyan Doshi 3b825b2f81 fate: add prog suffix in fate-mov-mp4-with-mov-in24-ver
Prevent test failure with builds that set a suffix and/or
extension for the ffprobe binary
2018-12-11 20:51:17 +05:30
Peter Ross b41f378fc4 os_support: define socket shutdown SHUT_xxx macros if they are not defined
this section has been moved into the CONFIG_NETWORK block, since it only
affects network enabled builds.

sys/socket.h (with WIN32 guard) is needed to check if the SHUT_xxx macro exists.
2018-12-11 22:08:18 +11:00
kjeyapal@akamai.com 876ed08b0d avformat/dashenc: Used the movenc option skip_sidx instead of global_sidx
Anyways the intended behaviour was to disable SIDX atom.
2018-12-11 10:53:18 +05:30
kjeyapal@akamai.com 1d01ab399f avformat/movenc: Added an option to disable SIDX atom 2018-12-11 10:52:16 +05:30
Lou Logan 0e8eb07980 doc/indevs: fix hdvbuffer typo in iec61883 example
Option name is dvbuffer.

Signed-off-by: Lou Logan <lou@lrcd.com>
2018-12-10 15:17:57 -09:00
Carl Hetherington 6190f873eb lavc/tiff: Fix leak of yuv_line in TiffContext.
Signed-off-by: Carl Hetherington <cth@carlh.net>
2018-12-11 00:57:01 +01:00
Carl Eugen Hoyos 73251678c8 lavd/v4l2: Use "int request" as second parameter for ioctl() on Android.
Fixes build with new Android toolchain.
2018-12-11 00:49:22 +01:00
Carl Eugen Hoyos 73abde61bb lavf/matroskadec: Do not use strncat() to limit copying a one-char constant.
Instead add the character to the snprintf above as suggested by Mark.

Silences a warning:
libavformat/matroskadec.c: In function 'webm_dash_manifest_cues':
libavformat/matroskadec.c:3947:13: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=]
             strncat(buf, ",", 1);
             ^~~~~~~~~~~~~~~~~~~~
2018-12-11 00:40:26 +01:00
Paul B Mahol 03beac5b97 avcodec/xpmdec: define constants 2018-12-10 21:38:08 +01:00
Paul B Mahol 00502370f6 avcodec/xpmdec: fix small artifacts
The max size of uint8_t subset is 223 not 220.
2018-12-10 21:31:18 +01:00
Paul B Mahol 6a20876b62 avformat/gif: simplify signature writing 2018-12-10 21:13:15 +01:00
Carl Eugen Hoyos fe300b2ab5 lavc/xpmdec: Allow more colours per character.
Fixes ticket #6234.
2018-12-10 20:59:08 +01:00
Paul B Mahol 8affd753c8 avcodec/gifdec: truncate too big width/height for invalid gif files
Fixes #6874.
2018-12-10 17:56:32 +01:00
Paul B Mahol 14156e607d avformat/mxfenc: calculate and store DAR from user SAR 2018-12-10 17:35:38 +01:00
Paul B Mahol 5e0d54a031 avformat/mxfenc: allow muxing prores 2018-12-10 17:25:49 +01:00
Paul B Mahol 49d792fff6 avcodec/proresdec2: allow changing resolution 2018-12-10 17:25:49 +01:00
Paul B Mahol eade85bbbd avformat: add gif pipe demuxer 2018-12-10 11:20:41 +01:00
Paul B Mahol 8f66d46ce5 avcodec: add gif parser 2018-12-10 11:19:36 +01:00
Jun Zhao a271025215 lavfi/vf_scale_vaapi: add scaling mode setting support.
before this change, scale_vaapi hard coding the scaling mode, add a
new option "mode" to setting the scaling mode, it can be use to change
scaling algorithm for performance/quality trade off.

Note: VA_FILTER_SCALING_NL_ANAMORPHIC(nolinear ananorphic scaling
algorithm) doesn't support by i965/iHD driver now, add this just for
completeness.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-12-10 15:24:47 +08:00
Karthick J 2349260330 avformat/hlsenc : Added an option to ignore IO errors
Useful for long duration runs with network output

Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
2018-12-10 14:19:23 +08:00
Karthick J 56503a6925 avformat/hlsenc: Handled error from ff_http_do_new_request() function
This patch fixes the segmentation fault issues due to
unhandled errors from ff_http_do_new_request function.

Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
2018-12-10 14:17:55 +08:00
Linjie Fu 1c96d2e399 lavc/qsvenc: replace assert with error return
Fix the (m)jpeg encoding regression issue as decription in tikect #7593,
due to bs->FrameType is not set in such case in
MSDK (https://github.com/Intel-Media-SDK/MediaSDK/issues/970).
(And assert on a value coming from an external library is not proper.)

Add default type check for bs->FrameType, and return invalid data error in function
ff_qsv_encode to avoid using uninitialized value.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-12-10 11:19:24 +08:00
Carl Eugen Hoyos de441ad52a lavc/cbs_vp9: Make variable prob unsigned.
Silences a warning with clang:
libavcodec/cbs_vp9_syntax_template.c:220:17: warning: implicit conversion from 'int' to 'int8_t' (aka 'signed char')
      changes value from 255 to -1
2018-12-10 02:18:56 +01:00
Carl Eugen Hoyos 9bcd40c298 lavc/decode: Initialize return value for get_format() failure.
Silences a warning:
libavcodec/decode.c:1378:13: warning: variable 'ret' is used uninitialized whenever 'if' condition is true
2018-12-10 01:50:04 +01:00
James Almer 04ee1b8da5 avcodec: bump micro version after d12d4d4515
Signed-off-by: James Almer <jamrial@gmail.com>
2018-12-09 19:28:37 -03:00
Paul B Mahol 3981f262ac avformat/mxfdec: fix indentation 2018-12-09 20:12:23 +01:00
Mark Thompson 34cab70818 qsvdec: Fix running with assert_level > 0
Assertion avctx->codec_id != AV_CODEC_ID_NONE failed at src/libavcodec/parser.c:128

The setting on the internal AVCodecContext used for parsing only is
otherwise irrelevant, so just set it to avoid the assert.
2018-12-09 18:49:06 +00:00
James Almer d12d4d4515 avcodec/libaomenc: add row-mt option
Default to disable, same as aomenc.

Fixes ticket #7598

Signed-off-by: James Almer <jamrial@gmail.com>
2018-12-09 15:23:00 -03:00
Paul B Mahol 8be56ee211 avfilter/vf_showinfo: allow checksums calculation to be disabled
Fixes #6987.
2018-12-09 18:46:36 +01:00
Jun Zhao 5ecd4f24f0 lavfi/buffersink: fix abuffersink flag setting issue
abuffersink need to setting AV_OPT_FLAG_AUDIO_PARAM flag.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-12-09 23:13:55 +08:00
Paul B Mahol c782e7aa9e avformat/dhav: export average frame rate too 2018-12-09 10:49:00 +01:00
Michael Niedermayer fe0416f8a1 avcodec/jpeg2000dec: Skip DWT if nothing is coded
Improves speed in uncommon case

Fixes: Timeout
Fixes: 10964/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5132066034286592

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-08 17:01:03 +01:00
Michael Niedermayer 2bc3811c0d avcodec/dxv: Check that there is enough data to decompress
Fixes: Timeout
Fixes: 10979/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-6178582203203584

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-08 17:01:03 +01:00
Carl Eugen Hoyos 0cb1ccd1d1 doc/codecs: Do not mention a removed flags. 2018-12-08 11:29:19 +01:00
Carl Eugen Hoyos 936b0aa280 doc/faq: Fix flags for possible video quality improvements.
Reported-by: Ulf Zibis
2018-12-08 11:28:01 +01:00
Gyan Doshi d91197c610 doc: vapoursynth
Add entry in external library list and demuxers.
2018-12-08 15:33:57 +05:30
Artyom Lebedev 6b1c4ce8cf Fix bug in mpegts muxer which affects KLV async stream generation.
Fixes ticket #7597.

Signed-off-by: Peter Ross <pross@xvid.org>
2018-12-08 11:06:10 +11:00
Paul B Mahol cc6208cde2 avformat/mxfdec: set codec_tag for prores codec 2018-12-07 20:08:37 +01:00
Paul B Mahol 3cc5576ee1 avcodec/proresdec2: add new line at end of debug message 2018-12-07 20:05:37 +01:00
Paul B Mahol b88ed73be1 avcodec/dpx: fix spotted code style issues 2018-12-07 19:44:57 +01:00
Paul B Mahol 61e6226a5a avcodec/dpx: add support for special encoding 2018-12-07 19:44:57 +01:00
Paul B Mahol 788e116c2f avcodec/dpx: improve decoding of 10 bit gray images 2018-12-07 19:44:57 +01:00
Paul B Mahol f628970e40 avcodec/dpx: add support for another gray10 variant 2018-12-07 19:44:57 +01:00
Paul B Mahol 9c881cf9a5 avcodec/dpx: parse input device name 2018-12-07 19:44:57 +01:00
Paul B Mahol abb0306bf3 avcodec/dpx: parse image creator 2018-12-07 19:44:57 +01:00
Paul B Mahol 0f8383005c avcodec/dpx: check version of format header too 2018-12-07 19:44:57 +01:00
Gyan Doshi 05a61a02d6 doc/general: rearrange libraries in alphabetical order 2018-12-07 17:56:00 +05:30
Zhong Li c9f0cff5ef lavc/qsvenc: add an option to set h264 pps for every frame
RepeatPPS is enabled by default in mfx. It is not necessary mostly and
wasting encoding bits.
Add an option to control it and disable it by default.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-12-07 17:13:36 +08:00