470700bc96
avcodec/pictordec: Error out if more than one plane is unused
...
Fixes: Timeout
Fixes: 9797/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PICTOR_fuzzer-5664441659031552
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 12:53:16 +01:00
df91af140c
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 >
2018-11-04 12:53:16 +01:00
242f7bf202
avfilter/split: use ff_outlink_get_status()
2018-11-03 18:24:35 +01:00
c8625e5c6f
avfilter/af_afade: do not use framequeue directly
2018-11-03 18:24:35 +01:00
4b82b71041
avfilter/af_amerge: use ff_inlink_queued_samples()
2018-11-03 18:24:35 +01:00
decc008929
avfilter/af_amultiply: make use of ff_inlink_queued_samples()
2018-11-03 18:24:35 +01:00
639694eaa5
avfilter/vf_extractplanes: use ff_outlink_get_status()
2018-11-03 18:24:19 +01:00
1052578dad
fate/api-h264-slice-test: use cleaner error handling
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-11-03 12:49:00 -03:00
8096f52049
fate/api-h264-slice-test: don't use ssize_t
...
Fixes ticket #7521
Signed-off-by: James Almer <jamrial@gmail.com >
2018-11-03 12:46:45 -03:00
66425add27
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 >
2018-11-02 23:46:31 +01:00
1dfa0b6f36
avcodec/prosumer: Remove always true check in decompress()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 23:46:31 +01:00
506839a3e9
avcodec/prosumer: Remove unneeded ()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 23:46:31 +01:00
9acdf17b2c
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 >
2018-11-02 23:46:31 +01:00
8e50215b5e
avfilter/vf_cuda_yadif: Avoid new syntax for vector initialisation
...
This requires a newer version of CUDA than we want to require.
2018-11-02 14:34:38 -07:00
1b41115ef7
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.
2018-11-02 11:27:13 -07:00
d5272e94ab
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.
2018-11-02 11:26:30 -07:00
598f0f3927
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.
2018-11-02 11:24:05 -07:00
ef1aadffc7
avfilter/f_loop: switch to activate
2018-11-02 12:32:34 +01:00
4620e4c7ad
avfilter/f_loop: make sure duration of frame is never zero
2018-11-02 11:20:30 +01:00
97e9e3504d
avfilter: add tpad filter
2018-11-02 09:32:52 +01:00
d6d407d2d7
avformat/dashenc: Disable writing CODECS tag for HEVC streams
...
For HEVC streams, only the FourCC tag is written without profile, level etc.,
This is breaking playout support in native Safari.
Native Safari playout expects the full info in CODECS tag or None at all.
2018-11-02 07:27:47 +05:30
2d2af23349
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 >
2018-11-01 22:55:22 -03:00
f4dd2db913
RELEASE: bump to 4.1.git
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 00:55:49 +01:00
e8ced83f68
Changelog: Add new version next tag
2018-11-02 00:55:27 +01:00
517573a670
Bump minor version for master after 4.1 branchpoint
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
n4.2-dev
2018-11-02 00:53:07 +01:00
780d5e30a0
Bump minor versions for branching 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 00:15:32 +01:00
324d21164d
Changelog: next is 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-01 23:54:35 +01:00
acf4fbddf3
doc/APIchanges: Update for 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-01 23:54:26 +01:00
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
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
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
d98fb558be
doc/filter: add some loop filter trivial examples
2018-11-01 13:50:51 +01:00
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
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
30fcc10937
cbs_h264: Include SEI type names in trace output
2018-10-31 21:38:33 +00:00
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
323c2cfd38
avfilter: add (a)graphmonitor filter(s)
2018-10-31 11:49:39 +01:00
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
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
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
edcdf35123
cbs_vp9: Ensure that reserved zero bits are actually zero
2018-10-30 22:22:27 +00:00
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
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
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
903f2beafc
lavc/decode: Fix the error number report if av_image_fill_pointers fail.
...
-1 will be map to error number "EPERM", and will be map to the error
message like "Error while decoding stream #0:0: Operation not permitted",
it's a strange error message when debug update_frame_pool fail,
now only return the error code from av_image_fill_pointers in case
of av_image_fill_pointers failure.
Signed-off-by: Jun Zhao <mypopydev@gmail.com >
2018-10-30 13:16:47 +08:00
1ff4bd59df
avformat/hlsenc.c: fix the output's duration smaller than input's in sub-range mode.
...
In fmp4 & sub-range mode, the output's duration always smaller than expected,
because the size of the last #EXT-X-BYTERANGE is too small.
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:11:27 +08:00
76b8e42c1f
avformat/hlsenc.c: the size of init.mp4 is zero.
...
The size of init.mp4 is zero in fmp4 mode,
when the input duraton smaller than the expected segment time.
fix ticket: 7166
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:10:27 +08:00
2365f47bf5
avformat/hlsenc.c: remove the useless variable fmp4_init_mode.
...
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:09:14 +08:00
e9dbd62cb5
avformat/hlsenc.c: fix memory leak in fmp4 mode.
...
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:08:29 +08:00
3d1b795493
avformat/hlsenc: fix the duration of m4s segment is unusually smaller than expected.
...
In fmp4 mode, the duration of the second m4s segment is
unusually smaller than the expected segment time.
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:07:14 +08:00