Paul B Mahol
9efc591cb7
avfilter/vf_overlay: fix crash with negative y
...
(cherry picked from commit 57815cfad5
)
2018-11-25 12:46:56 +01:00
Marton Balint
d4c5f515f0
avcodec/mpeg_er: fix clearing chroma blocks for 422 and 444
...
Fixes ticket #7494 .
Signed-off-by: Marton Balint <cus@passwd.hu >
(cherry picked from commit e3a9630982
)
2018-11-19 23:29:30 +01:00
Marton Balint
bb01cd3cc0
avfilter/af_afade: fix duration maximum
...
Signed-off-by: Marton Balint <cus@passwd.hu >
(cherry picked from commit aecd63b926
)
2018-11-15 22:34:53 +01:00
Mark Harris
fed94c2f22
avfilter/vf_fade: fix start/duration max value
...
A fade out (usually at the end of a video) can easily start beyond
INT32_MAX (about 36 minutes). Regression since d40dc64173
.
(cherry picked from commit ae4323548a
)
2018-11-15 22:34:34 +01:00
James Almer
a9e9303f26
avcodec/cbs_av1: fix parsing signed integer values
...
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit f0f2832a5c
)
2018-11-14 20:53:44 -03:00
James Almer
49bc641e89
avcodec/cbs_av1: fix storage size for segmentation_params feature_value fields
...
The valid range is -255 to 255.
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 79831f4531
)
2018-11-14 20:53:40 -03:00
Mark Thompson
4f1e07090a
configure: Add missing xlib dependency for VAAPI X11 code
...
Fixes #7538 .
(cherry picked from commit 2ce3a48f30
)
2018-11-14 23:24:51 +00:00
Mark Wu
11dff170ef
avcodec/hevcdec: fix non-ref frame judgement
...
After inspecting the source code of x265, mpv and ffmpeg, I've found that
ffmpeg mistakenly regards EVC_NAL_BLA_N_LP and HEVC_NAL_IDR_N_LP as non-
reference frames, which are acutally reference frames according to the
specification in x265, and drops them.
This patch should address the problem. I have tested it with mpv.
Signed-off-by: Mark Wu <wfwf1997@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 10bc4c3a7d
)
2018-11-10 14:38:25 -03:00
Mark Thompson
10506de9ad
cbs_av1: Support redundant frame headers
...
(cherry picked from commit f5894178fb
)
n4.1
2018-11-05 23:11:03 +00:00
Mark Thompson
af3fccfeff
cbs_av1: Fix header writing when already aligned
...
(cherry picked from commit 6bdb7712ae
)
2018-11-05 23:10:57 +00:00
Mark Thompson
ec1b5216fc
configure: Add missing V4L2 M2M decoder BSF dependencies
...
(cherry picked from commit e9d2e3fdaa
)
2018-11-05 23:10:49 +00:00
Mark Thompson
066ff02621
configure: Add missing IVF muxer BSF dependency
...
(cherry picked from commit a4fb2b1150
)
2018-11-05 23:10:41 +00:00
James Almer
398a70309e
avcodec/cbs_av1: fix decoder/encoder_buffer_delay variable types
...
buffer_delay_length_minus_1 is five bits long, meaning decode_buffer_delay and
encoder_buffer_delay can have values up to 32 bits long.
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 89a0d33e3a
)
2018-11-04 22:06:20 -03:00
Mark Thompson
acd13f1255
configure: Fix av1_metadata BSF dependency
...
(cherry picked from commit 34429182b9
)
2018-11-04 22:06:11 -03:00
James Almer
1c98cf4ddd
avformat/ivfenc: use the av1_metadata bsf to insert Temporal Delimiter OBUs if needed
...
Reviewed-by: Mark Thompson <sw@jkqxz.net >
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 2d2af23349
)
2018-11-04 22:06:08 -03:00
Marton Balint
63c1e291ef
avformat/ftp: allow nonstandard 202 reply to OPTS UTF8
...
Fixes ticket #7481 .
Signed-off-by: Marton Balint <cus@passwd.hu >
(cherry picked from commit 8e5a2495a8
)
2018-11-04 22:55:09 +01:00
Michael Niedermayer
7ebc27e1fa
avcodec/cavsdec: Propagate error codes inside decode_mb_i()
...
Fixes: Timeout
Fixes: 10702/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CAVS_fuzzer-5669940938407936
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit c1cee05656
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Michael Niedermayer
bc5777bdab
avcodec/mpeg4videodec: Clear partitioned frame in decode_studio_vop_header()
...
partitioned_frame is also set/cleared in decode_vop_header()
Fixes: out of array read
Fixes: 9789/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5638681627983872
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 074187d599
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Michael Niedermayer
7d23ccac8d
avcodec/mpegaudio_parser: Consume more than 0 bytes in case of the unsupported mp3adu case
...
Fixes: Timeout
Fixes: 10966/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADU_fuzzer-5348695024336896
Fixes: 10969/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5691669402877952
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit df91af140c
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Michael Niedermayer
2f04b78b95
avcodec/prosumer: Simplify bit juggling of the c variable in decompress()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 66425add27
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Michael Niedermayer
fd05e20650
avcodec/prosumer: Remove always true check in decompress()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 1dfa0b6f36
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Michael Niedermayer
a163384467
avcodec/prosumer: Remove unneeded ()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 506839a3e9
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Michael Niedermayer
b9875b7583
avcodec/prosumer: Check for bytestream eof in decompress()
...
Fixes: Infinite loop
Fixes: 10685/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PROSUMER_fuzzer-5652236881887232
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 >
(cherry picked from commit 9acdf17b2c
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Philip Langdale
ebc1c49e41
avfilter/vf_cuda_yadif: Avoid new syntax for vector initialisation
...
This requires a newer version of CUDA than we want to require.
(cherry picked from commit 8e50215b5e
)
2018-11-03 15:50:31 -07:00
Philip Langdale
6feec11e48
avcodec/nvdec: Increase frame pool size to help deinterlacing
...
With the cuda yadif filter in use, the number of mapped decoder
frames could increase by two, as the filter holds on to additional
frames.
(cherry picked from commit 1b41115ef7
)
2018-11-03 15:50:25 -07:00
Philip Langdale
67126555fc
avfilter/vf_yadif_cuda: CUDA accelerated yadif deinterlacer
...
This is a cuda implementation of yadif, which gives us a way to
do deinterlacing when using the nvdec hwaccel. In that scenario
we don't have access to the nvidia deinterlacer.
(cherry picked from commit d5272e94ab
)
2018-11-03 15:50:12 -07:00
Philip Langdale
041231fcd6
libavfilter/vf_yadif: Make frame management logic and options shareable
...
I'm writing a cuda implementation of yadif, and while this
obviously has a very different implementation of the actual
filtering, all the frame management is unchanged. To avoid
duplicating that logic, let's make it shareable.
From the perspective of the existing filter, the only real change
is introducing a function pointer for the filter() function so it
can be specified for the specific filter.
(cherry picked from commit 598f0f3927
)
2018-11-03 15:45:55 -07:00
Josh de Kock
765fb1f224
fate/api-h264-slice-test: use cleaner error handling
...
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 1052578dad
)
2018-11-03 12:57:51 -03:00
Josh de Kock
5060a615c7
fate/api-h264-slice-test: don't use ssize_t
...
Fixes ticket #7521
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 8096f52049
)
2018-11-03 12:57:37 -03:00
Michael Niedermayer
1665ac6a44
RELEASE_NOTES: Based on the version from 4.0
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 01:36:21 +01:00
Michael Niedermayer
3c7e973430
Update for 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 01:33:08 +01:00
Michael Niedermayer
780d5e30a0
Bump minor versions for branching 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 00:15:32 +01:00
Michael Niedermayer
324d21164d
Changelog: next is 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-01 23:54:35 +01:00
Michael Niedermayer
acf4fbddf3
doc/APIchanges: Update for 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-01 23:54:26 +01:00
Marton Balint
6a034adf75
avformat/ftp: return AVERROR_EOF for EOF
...
Without this FTP just hangs on eof...
Signed-off-by: Marton Balint <cus@passwd.hu >
2018-11-01 21:04:57 +01:00
Anton Platov
295fd12d17
avdevice/libndi_newtek_dec: add extra_ips option to libndi_newtek allowing use remote network sources
...
Signed-off-by: Anton Platov <anton@platov.net >
Signed-off-by: Marton Balint <cus@passwd.hu >
2018-11-01 18:46:05 +01:00
BIGLER Don (Framatome)
cb74c33106
avdevice/decklink_dec: fix codec_tag of RGBA formats
...
Fixes ticket #7505 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2018-11-01 18:46:05 +01:00
Paul B Mahol
d98fb558be
doc/filter: add some loop filter trivial examples
2018-11-01 13:50:51 +01:00
Philip Langdale
4a976200d7
avcodec/vdpau: Initialise driver version variable explicitly
...
If the identification string ever changed, we might not match anything
in the sscanf(). At least have predictable behaviour.
2018-10-31 17:36:00 -07:00
Mark Thompson
2dee0679e9
cbs_h265: Add PTL parsing for Main 10 Still Picture profile
...
This was added in the 2018 version of the standard.
2018-10-31 21:38:33 +00:00
Mark Thompson
30fcc10937
cbs_h264: Include SEI type names in trace output
2018-10-31 21:38:33 +00:00
Michael Niedermayer
793a3e7bc9
doc/fate.texi: Mention that samples should be uploaded before pushing dependent commits
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-31 22:32:13 +01:00
Paul B Mahol
323c2cfd38
avfilter: add (a)graphmonitor filter(s)
2018-10-31 11:49:39 +01:00
ManojGuptaBonda
4a6d5f3cad
avcodec/vdpau: Enable HEVC support for working Nvidia driver versions
...
The driver bugs that caused decoded HEVC content to have an incorrect
memory layout have been fully fixed in the 410.xx driver release so
we can start exposing support.
2018-10-30 19:44:13 -07:00
James Almer
7aaf092f8c
avcodec/cbs_vp9: store profile in the private context
...
Derived from profile_low_bit and profile_high_bit.
Signed-off-by: James Almer <jamrial@gmail.com >
2018-10-30 20:55:44 -03:00
James Almer
ec440339b2
avcodec/cbs_vp9: keep track of reference frames
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-10-30 20:54:08 -03:00
Mark Thompson
edcdf35123
cbs_vp9: Ensure that reserved zero bits are actually zero
2018-10-30 22:22:27 +00:00
Werner Robitza
ad5ca1fb72
doc/hls: fix grammar for HLS options
...
This fixes the grammar of two HLS option descriptions and makes them less
ambiguous.
Signed-off-by: Werner Robitza <werner.robitza@gmail.com >
Signed-off-by: Lou Logan <lou@lrcd.com >
2018-10-30 14:08:19 -08:00
James Zern
32d021cfa6
avcodec/libvpxdec: fix setting auto threads
...
a thread count of 0 is treated the same as 1, use av_cpu_count() to get
the correct thread count when auto threads is requested.
this matches the fix in libvpxenc:
27df34bf1f
avcodec/libvpxenc: fix setting amount of threads used for encoding
Reviewed-by: James Almer <jamrial@gmail.com >
Signed-off-by: James Zern <jzern@google.com >
2018-10-29 23:07:35 -07:00
Jun Zhao
f3bcb9c16a
lavu/frame: Add error report if av_image_fill_pointers fail.
...
Add error handle if av_image_fill_pointers fail.
Signed-off-by: Jun Zhao <mypopydev@gmail.com >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-30 13:17:09 +08:00