Jun Zhao
197d298ab3
hwcontext_vaapi: Fix build failure with old libdrm
...
Signed-off-by: Jun Zhao <jun.zhao@intel.com >
Signed-off-by: Mark Thompson <sw@jkqxz.net >
2017-09-14 22:42:51 +01:00
Jun Zhao
462568185b
kmsgrab: Fix build failure with old libdrm
...
DRM_FORMAT_R8 was added in libdrm 2.4.68.
DRM_FORMAT_R16 was added in libdrm 2.4.82.
Signed-off-by: Jun Zhao <jun.zhao@intel.com >
Signed-off-by: Mark Thompson <sw@jkqxz.net >
2017-09-14 22:40:09 +01:00
Paul B Mahol
133002e8ae
avfilter/vf_despill: fix assigment
...
Reported-by: Moritz Barsnick
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-09-14 18:05:57 +02:00
Mark Thompson
16b44d9ab9
lavd/kmsgrab: Fix packet flag setting
...
Found-by: James Almer <jamrial@gmail.com >
2017-09-14 09:14:36 +01:00
James Almer
6561cdd70c
avcodec.h: fix doxygen comment
2017-09-14 01:43:52 -03:00
Mark Thompson
ec1573f879
doc/indevs: Document kmsgrab input device
2017-09-13 22:31:12 +01:00
Mark Thompson
52194f0bcb
lavd: Add KMS screen grabber
2017-09-13 22:31:05 +01:00
Mark Thompson
c8dea81921
lavc: Add wrapped_avframe decoder
...
Intended for use with hardware frames for which rawvideo is not
sufficient. Requires the trusted packet flag to be set - decoding
fails if not to avoid security issues (the wrapped AVFrame can
contain pointers to arbitrary data).
2017-09-13 22:25:29 +01:00
Mark Thompson
82342cead1
lavc: Add flag to mark packets containing trusted input
2017-09-13 22:25:29 +01:00
Mark Thompson
170c65335c
hwcontext_vaapi: Add DRM to VAAPI mapping
2017-09-13 22:25:25 +01:00
Mark Thompson
9cb23cd9fe
lavu: Add DRM hwcontext
2017-09-13 22:03:27 +01:00
James Almer
7bae17e37a
avcodec/extract_extradata: return an error when buffer allocation fails
...
ret is 0 by default.
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-13 17:22:00 -03:00
James Almer
4d390344ec
configure: check if NAN can be used as a constant initializer
...
Some targets, like NetBSD and DJGPP, don't seem to support it.
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-13 15:38:10 -03:00
Paras Chadha
6ce4a635ed
avformat/fitsenc: fill header line with spaces
...
Signed-off-by: Paras Chadha <paraschadha18@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-12 21:39:57 -03:00
James Almer
9669c05baf
avcodec/h264_sei: add namespace prefix to frame packingarrangement enum values
...
Missed in 6eb102a616
.
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-12 19:59:23 -03:00
Mark Thompson
6eb102a616
h264_sei: Add namespace prefix to all SEI values
...
This avoids confusion with equivalent H.265 SEI values when both are
being used at the same time.
(cherry picked from commit 6ea220cbee
)
2017-09-12 22:29:31 +01:00
Ronald S. Bultje
1db03e952b
vp9: fix explicit memory order for report_progress.
2017-09-12 15:26:05 -04:00
Paul B Mahol
04b9010f7f
avfilter/af_dcshift: do not leak out frame
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-09-12 20:28:53 +02:00
Michael Niedermayer
de03eb622d
avformat/mxfenc: Correct the Sample rate for PCM outside D10
...
Based on mail from IRT
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-12 19:24:25 +02:00
Michael Niedermayer
4c33ec004f
avformat/mxfenc: Comment edit rate write code like the surrounding code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-12 19:24:25 +02:00
Michael Niedermayer
4c88087f93
avformat/mxfenc: Replace more literal magic numbers by enum values.
...
This also moves the enum table up as it is needed earlier
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-12 19:24:25 +02:00
Ronald S. Bultje
183216b218
frame_thread_encoder: make 'exit' member atomic.
...
Should fix the following tsan warning:
WARNING: ThreadSanitizer: data race (pid=19806)
Read of size 4 at 0x7b84000012f0 by thread T9:
#0 worker src/libavcodec/frame_thread_encoder.c:66 (ffmpeg+0x0000007f349e)
[..]
Previous write of size 4 at 0x7b84000012f0 by main thread (mutexes: write M1395):
#0 ff_frame_thread_encoder_free src/libavcodec/frame_thread_encoder.c:239 (ffmpeg+0x0000007f379e)
[..]
2017-09-12 08:21:10 -04:00
Nicolas George
549ef6ef9a
lavfi/framesync: remove dead code.
...
Fix CID 1416960.
2017-09-12 12:30:40 +02:00
Nicolas George
9bad5e5319
lavfi/framesync: reword repeatlast option help.
2017-09-12 11:14:25 +02:00
Nicolas George
064c9d45ff
doc: update filter_design.txt.
2017-09-12 11:03:51 +02:00
Nicolas George
5f5dcf44e3
lavfi: rename framesync2 to framesync.
2017-09-12 11:03:51 +02:00
Nicolas George
1b8e061cc5
lavfi: remove framesync.
2017-09-12 11:03:51 +02:00
Nicolas George
61b0b03f3f
lavfi/af_sidechaincompress: use helper macros.
2017-09-12 11:03:50 +02:00
Nicolas George
567d318b1c
lavfi/af_agate: use helper macros.
2017-09-12 11:03:50 +02:00
Nicolas George
76613618d9
lavfi: add helper functions and macros for activate.
2017-09-12 11:03:50 +02:00
Michael Niedermayer
e952d4b7ac
avcodec/hevc_ps: Fix limit of chroma_qp_offset_list_len_minus1
...
A value of 5 is allowed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-12 01:52:14 +02:00
Michael Niedermayer
abf3f9fa23
avcodec/hevc_ps: Fix c?_qp_offset_list size
...
Fixes: runtime error: index 5 out of bounds for type 'int8_t const[5]'
Fixes:3175/clusterfuzz-testcase-minimized-4736774054084608
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-12 01:52:14 +02:00
Michael Niedermayer
380659604f
avcodec/shorten: Move buffer allocation and offset init to end of read_header()
...
They are time consuming operations, performing them after the other checks
improves the speed with damaged input dramatically.
Fixes: Timeout
Fixes: 2928/clusterfuzz-testcase-4992812120539136
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-12 01:52:14 +02:00
James Almer
c9a1cd08ea
avcodec/hevc_ps: improve check for missing default display window bitstream
...
Fixes ticket #6644
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-11 20:01:41 -03:00
Ronald S. Bultje
4ce99e96d6
vp9: assert -> av_assert and fix associated compile error.
2017-09-11 16:02:25 -04:00
Steven Liu
ad0d016f1c
MAINTAINERS: Add myself to maintainer of dashdec
...
Add dash maintainer.
2017-09-11 22:40:46 +08:00
Ilia Valiakhmetov
86eb50549a
Changelog: add vp9 tile threading support
...
Signed-off-by: Ilia Valiakhmetov <zakne0ne@gmail.com >
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2017-09-11 08:02:15 -04:00
Ronald S. Bultje
9bab39dee5
vp9: fix compilation with threading disabled.
2017-09-11 08:01:59 -04:00
Michael Niedermayer
2d025e7428
avcodec/jpeg2000dsp: Fix multiple integer overflows in ict_int()
...
Fixes: runtime error: signed integer overflow: 22553 * -188962 cannot be represented in type 'int'
Fixes: 3042/clusterfuzz-testcase-minimized-5174210131394560
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-11 12:28:23 +02:00
Michael Niedermayer
f0efd795f4
avcodec/clearvideo: Only output a frame if one is coded in the packet
...
Fixes: Timeout (183 ms instead of about 20 sec)
Fixes: 3147/clusterfuzz-testcase-4870592182353920
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-11 12:23:59 +02:00
Michael Niedermayer
c225da68cf
avcodec/hevcdsp_template: Fix undefined shift in put_hevc_pel_bi_w_pixels
...
Fixes: runtime error: left shift of negative value -95
Fixes: 3077/clusterfuzz-testcase-minimized-4684917524922368
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-11 12:23:58 +02:00
Michael Niedermayer
b5995856a4
avcodec/diracdec: Fix overflow in DC computation
...
Fixes: runtime error: signed integer overflow: 11896 + 2147483646 cannot be represented in type 'int'
Fixes: 3053/clusterfuzz-testcase-minimized-6355082062856192
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-11 12:23:53 +02:00
Jesse Liu
8e17cd20b9
add missing ignore files
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-10 19:08:33 +02:00
Michael Niedermayer
981f04b2ae
avcodec/scpr: optimize shift loop.
...
Speeds code up from 50sec to 15sec
Fixes Timeout
Fixes: 3242/clusterfuzz-testcase-5811951672229888
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-10 19:08:23 +02:00
Diego Biurrun
cbe181c8e1
build: Skip generating .version files when cleaning
...
Signed-off-by: James Almer <jamrial@gmail.com >
2017-09-10 01:22:57 -03:00
James Almer
27a86b8ece
avfilter/vf_convolve: use av_clip_uint8
...
Fixes fate-source.
2017-09-09 22:02:25 -03:00
Michael Niedermayer
d98d29a775
avcodec/dirac_vlc: limit res_bits in APPEND_RESIDUE()
...
Fixes: runtime error: left shift of 1073741838 by 1 places cannot be represented in type 'int32_t' (aka 'int')
Fixes: 3279/clusterfuzz-testcase-minimized-4564805744590848
Suggested-by: <atomnuker>
Reviewed-by: <atomnuker>
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-09-09 18:55:47 +02:00
Paul B Mahol
4d41db7a31
avfilter: add generic FFT video convolve filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-09-09 17:09:37 +02:00
Jun Zhao
a918f16f7c
lavc/vaapi_encode_mpeg2: fix frame rate calc error when use time_base.
...
fix frame rate calc error when use time_base.
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 >
2017-09-09 11:31:46 +01:00
Petri Hintukainen
7a6bd54152
Add SUP/PGS subtitle muxer
...
Fixes ticket #2208
2017-09-09 12:07:14 +02:00