Michael Niedermayer
c6db2e97dc
avcodec/ac3enc: Use specific error code in validate_float_option()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
34f942c6c4
avcodec/assenc: Return more specific error codes for ass_encode_frame()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
6747a63397
avcodec/asvenc: Replace bitstream space check by assert
...
This should never be untrue, if it is, thats a bug
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
9520d51e21
avcodec/avpacket: Avoid unspecific return -1 for av_grow_packet()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
057328b29d
avcodec/bitstream: Return specific error codes when building vlc tables
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
5d9a69167c
avcodec/aacps: Return more specific error codes.
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
fe17f9b956
swscale/yuv2rgb: Return a more specific error code from ff_yuv2rgb_c_init_tables()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
Michael Niedermayer
07607a1db8
avcodec/4xm: Fix returned error codes
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-01 21:11:47 +01:00
James Almer
3209d7b393
configure: bump year
...
Happy new year!
2019-01-01 15:26:34 -03:00
Paul B Mahol
35a8179149
avfilter/af_adelay: allow setting delays in seconds
2019-01-01 13:33:16 +01:00
Paul B Mahol
e1f7881d92
afilter/af_sofalizer: check explicitly other type
2019-01-01 12:29:19 +01:00
Paul B Mahol
f7745edeaa
doc/filters: improve afir description a little
2019-01-01 11:56:29 +01:00
Paul B Mahol
51b356eef8
avfilter/af_sofalizer: stop allocating never used buffers
2018-12-31 19:40:18 +01:00
Paul B Mahol
86555a2fbf
avfilter/af_afir: fix overhead for small partitions
2018-12-31 18:07:46 +01:00
Michael Niedermayer
c4276a7f30
avcodec/scpr: Avoid per pixel y checks in decode_run_i
...
about 1% faster
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:26 +01:00
Michael Niedermayer
20564d23fd
avcodec/scpr: Factor some indexes out in decode_run_i()
...
This improves the speed of decode_run_i()
After: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200 in 13516 ms
Before: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200 in 14018 ms
Improves: 11270/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200
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-31 17:44:25 +01:00
Michael Niedermayer
609e2e64f6
avcodec/scpr: Use local variables in decode_run_i()
...
This improves the speed of decode_run_i()
Before: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200 in 17420 ms
After: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200 in 14018 ms
Improves: 11270/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200
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-31 17:44:23 +01:00
Michael Niedermayer
b6c2c58904
avcodec/rangecoder: Add and test ff_rac_check_termination()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:22 +01:00
Michael Niedermayer
20b10ba83c
avcodec/rangecoder: Document ff_rac_terminate()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:21 +01:00
Michael Niedermayer
0c4af1390f
avcodec/tests/rangecoder: Test coder more completely
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:19 +01:00
Michael Niedermayer
1be9a28f8e
avcodec/rangecoder: factorize termination version code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:18 +01:00
Paul B Mahol
41c1643d75
avcodec: add HYMT decoder
2018-12-31 15:41:23 +01:00
Paul B Mahol
8a8cce078c
avformat/au: do not use invalid block_align for small bits per sample
...
Fixes #5481 .
2018-12-31 15:21:47 +01:00
Michael Niedermayer
3e461f9d4c
avcodec/qsvenc: Fix Unkown typo
...
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Michael Niedermayer
571af98a59
avformat/libopenmpt: Fix successfull typo
...
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Michael Niedermayer
062bf56393
avcodec/v4l2_m2m: fix cant typo
...
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Michael Niedermayer
283e751aef
avcodec/mjpegbdec: Propagate error codes
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Michael Niedermayer
11a8d2ccab
avcodec/mjpegbdec: Fix some misplaced {} and spaces
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Paul B Mahol
3e8f211d86
avfilter/vf_chromashift: remove invalid offset
2018-12-30 22:31:52 +01:00
Paul B Mahol
ea3a980a61
avfilter/af_afir: do not over allocate fft buffer
2018-12-30 22:11:46 +01:00
Marton Balint
7f42276aa9
avformat/concatdec: always allow seeking to start
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-12-30 21:06:19 +01:00
Marton Balint
f9e947845f
avfilter/af_asetnsamples: fix last frame props
...
Frame properties were not copied, so e.g. PTS was not set for the last frame.
Regression since ef3babb2c7
.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-12-30 20:05:34 +01:00
Zachary Zhou
b6b3159b04
lavfi/vaapi: Add constant VAAPI_VPP_BACKGROUND_BLACK
...
Signed-off-by: Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
2018-12-30 18:10:16 +00:00
Paul B Mahol
ba3d983c95
avfilter/af_afir: stop using as much threads as stream have it
2018-12-30 17:50:44 +01:00
Paul B Mahol
72270d5bd0
avfilter/af_afir: optimize code a little more
...
Avoid memset.
2018-12-30 17:50:44 +01:00
Alex Mogurenko
e4788ae31b
avcodec/prores_ks: Fix luma quantization if q >= MAX_STORED_Q
...
The problem occurs in slice quant estimation and slice encoding:
If the slice quant is larger than MAX_STORED_Q we don't use pre-calculated
quant matrices, but generate a new one, but both qmat and qmat_chroma both
point to the same table, so the luma table ends up having chroma table
values.
Add custom_chroma_q the same way as custom_q.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2018-12-30 11:24:39 -05:00
Paul B Mahol
a53a9f1c8d
avfilter/af_afir: implement non-uniform partitioned convolution
...
Using multiple frequency delay lines.
2018-12-30 13:40:29 +01:00
Paul B Mahol
300dc45fdc
avfilter/af_afir: properly split IR into multiple segments
2018-12-29 10:57:58 +01:00
Paul B Mahol
3c3eb4930e
avfilter/af_afir: make part_index values per channel
2018-12-29 10:46:25 +01:00
Paul B Mahol
31c9d693aa
avfilter/af_afir: make number of segments extendable
2018-12-29 10:39:19 +01:00
Paul B Mahol
6095356d5b
avfilter/af_afir: use AVFrame for coeff too
2018-12-29 10:17:39 +01:00
Paul B Mahol
1ba909fabe
avfilter/af_afir: use segment pointer
2018-12-29 08:35:23 +01:00
Paul B Mahol
30bf54b9f3
avfilter/af_afir: introduce uninit_segment() and use it
2018-12-29 08:35:23 +01:00
Paul B Mahol
8007e8fc67
avfilter/af_afir: fix minp/maxp range and change default value for maxp
2018-12-29 08:35:23 +01:00
Paul B Mahol
c343e81ffd
avfilter/af_afir: introduce init_segment() and use it
2018-12-29 08:35:23 +01:00
Paul B Mahol
e57053417a
avfilter/af_afir: move allocation stuff where it belongs
2018-12-29 08:35:23 +01:00
Paul B Mahol
7312e027d6
avfilter/af_afir: introduce AudioFIRSegment structure and use it
2018-12-29 08:35:23 +01:00
Michael Niedermayer
fccba32b4c
tools: add target_dec_fate.sh
...
Script to download and test ossfuzz testcases
This also includes a list of such testcases.
I intend to subsequently fill this list with the cases we have fixed in the past
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-29 00:52:34 +01:00
Carl Eugen Hoyos
8d422e7fef
Makefile: Allow "make clean" to delete compat/atomics/pthread/stdatomic.o
...
Reported-by: Eric Thomas
2018-12-28 14:04:10 +01:00
David Bryant
db109373d8
avformat/wvdec: detect and error out on WavPack DSD files
...
Not currently supported.
2018-12-28 12:53:24 +01:00