]> git.sesse.net Git - ffmpeg/log
ffmpeg
5 years agoavcodec/rangecoder: Document ff_rac_terminate()
Michael Niedermayer [Wed, 19 Dec 2018 01:40:20 +0000 (02:40 +0100)]
avcodec/rangecoder: Document ff_rac_terminate()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/tests/rangecoder: Test coder more completely
Michael Niedermayer [Wed, 19 Dec 2018 01:40:19 +0000 (02:40 +0100)]
avcodec/tests/rangecoder: Test coder more completely

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/rangecoder: factorize termination version code
Michael Niedermayer [Wed, 19 Dec 2018 01:40:18 +0000 (02:40 +0100)]
avcodec/rangecoder: factorize termination version code

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec: add HYMT decoder
Paul B Mahol [Wed, 22 Aug 2018 20:11:42 +0000 (22:11 +0200)]
avcodec: add HYMT decoder

5 years agoavformat/au: do not use invalid block_align for small bits per sample
Paul B Mahol [Sun, 23 Dec 2018 15:27:45 +0000 (16:27 +0100)]
avformat/au: do not use invalid block_align for small bits per sample

Fixes #5481.

5 years agoavcodec/qsvenc: Fix Unkown typo
Michael Niedermayer [Fri, 28 Dec 2018 21:22:54 +0000 (22:22 +0100)]
avcodec/qsvenc: Fix Unkown typo

Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavformat/libopenmpt: Fix successfull typo
Michael Niedermayer [Fri, 28 Dec 2018 21:22:52 +0000 (22:22 +0100)]
avformat/libopenmpt: Fix successfull typo

Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/v4l2_m2m: fix cant typo
Michael Niedermayer [Fri, 28 Dec 2018 21:22:53 +0000 (22:22 +0100)]
avcodec/v4l2_m2m: fix cant typo

Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/mjpegbdec: Propagate error codes
Michael Niedermayer [Fri, 28 Dec 2018 21:22:57 +0000 (22:22 +0100)]
avcodec/mjpegbdec: Propagate error codes

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/mjpegbdec: Fix some misplaced {} and spaces
Michael Niedermayer [Fri, 28 Dec 2018 21:22:56 +0000 (22:22 +0100)]
avcodec/mjpegbdec: Fix some misplaced {} and spaces

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/vf_chromashift: remove invalid offset
Paul B Mahol [Sun, 30 Dec 2018 21:31:52 +0000 (22:31 +0100)]
avfilter/vf_chromashift: remove invalid offset

5 years agoavfilter/af_afir: do not over allocate fft buffer
Paul B Mahol [Sun, 30 Dec 2018 21:08:11 +0000 (22:08 +0100)]
avfilter/af_afir: do not over allocate fft buffer

5 years agoavformat/concatdec: always allow seeking to start
Marton Balint [Thu, 13 Dec 2018 21:13:09 +0000 (22:13 +0100)]
avformat/concatdec: always allow seeking to start

Signed-off-by: Marton Balint <cus@passwd.hu>
5 years agoavfilter/af_asetnsamples: fix last frame props
Marton Balint [Tue, 25 Dec 2018 21:26:18 +0000 (22:26 +0100)]
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 ef3babb2c70f564dc1634b3f29c6e35a2b2dc239.

Signed-off-by: Marton Balint <cus@passwd.hu>
5 years agolavfi/vaapi: Add constant VAAPI_VPP_BACKGROUND_BLACK
Zachary Zhou [Tue, 25 Dec 2018 06:03:30 +0000 (14:03 +0800)]
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>
5 years agoavfilter/af_afir: stop using as much threads as stream have it
Paul B Mahol [Sun, 30 Dec 2018 16:40:31 +0000 (17:40 +0100)]
avfilter/af_afir: stop using as much threads as stream have it

5 years agoavfilter/af_afir: optimize code a little more
Paul B Mahol [Sun, 30 Dec 2018 16:23:53 +0000 (17:23 +0100)]
avfilter/af_afir: optimize code a little more

Avoid memset.

5 years agoavcodec/prores_ks: Fix luma quantization if q >= MAX_STORED_Q
Alex Mogurenko [Fri, 28 Dec 2018 20:30:08 +0000 (22:30 +0200)]
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>
5 years agoavfilter/af_afir: implement non-uniform partitioned convolution
Paul B Mahol [Sat, 29 Dec 2018 10:40:13 +0000 (11:40 +0100)]
avfilter/af_afir: implement non-uniform partitioned convolution

Using multiple frequency delay lines.

5 years agoavfilter/af_afir: properly split IR into multiple segments
Paul B Mahol [Sat, 29 Dec 2018 09:57:58 +0000 (10:57 +0100)]
avfilter/af_afir: properly split IR into multiple segments

5 years agoavfilter/af_afir: make part_index values per channel
Paul B Mahol [Sat, 29 Dec 2018 09:46:25 +0000 (10:46 +0100)]
avfilter/af_afir: make part_index values per channel

5 years agoavfilter/af_afir: make number of segments extendable
Paul B Mahol [Sat, 29 Dec 2018 09:39:19 +0000 (10:39 +0100)]
avfilter/af_afir: make number of segments extendable

5 years agoavfilter/af_afir: use AVFrame for coeff too
Paul B Mahol [Sat, 29 Dec 2018 09:17:39 +0000 (10:17 +0100)]
avfilter/af_afir: use AVFrame for coeff too

5 years agoavfilter/af_afir: use segment pointer
Paul B Mahol [Fri, 28 Dec 2018 20:04:50 +0000 (21:04 +0100)]
avfilter/af_afir: use segment pointer

5 years agoavfilter/af_afir: introduce uninit_segment() and use it
Paul B Mahol [Fri, 28 Dec 2018 17:45:55 +0000 (18:45 +0100)]
avfilter/af_afir: introduce uninit_segment() and use it

5 years agoavfilter/af_afir: fix minp/maxp range and change default value for maxp
Paul B Mahol [Fri, 28 Dec 2018 17:33:14 +0000 (18:33 +0100)]
avfilter/af_afir: fix minp/maxp range and change default value for maxp

5 years agoavfilter/af_afir: introduce init_segment() and use it
Paul B Mahol [Fri, 28 Dec 2018 17:31:36 +0000 (18:31 +0100)]
avfilter/af_afir: introduce init_segment() and use it

5 years agoavfilter/af_afir: move allocation stuff where it belongs
Paul B Mahol [Fri, 28 Dec 2018 17:07:13 +0000 (18:07 +0100)]
avfilter/af_afir: move allocation stuff where it belongs

5 years agoavfilter/af_afir: introduce AudioFIRSegment structure and use it
Paul B Mahol [Fri, 28 Dec 2018 16:57:24 +0000 (17:57 +0100)]
avfilter/af_afir: introduce AudioFIRSegment structure and use it

5 years agotools: add target_dec_fate.sh
Michael Niedermayer [Sun, 9 Sep 2018 23:45:04 +0000 (01:45 +0200)]
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>
5 years agoMakefile: Allow "make clean" to delete compat/atomics/pthread/stdatomic.o
Carl Eugen Hoyos [Fri, 28 Dec 2018 13:04:10 +0000 (14:04 +0100)]
Makefile: Allow "make clean" to delete compat/atomics/pthread/stdatomic.o

Reported-by: Eric Thomas
5 years agoavformat/wvdec: detect and error out on WavPack DSD files
David Bryant [Wed, 21 Nov 2018 05:00:47 +0000 (21:00 -0800)]
avformat/wvdec: detect and error out on WavPack DSD files

Not currently supported.

5 years agoavcodec/wavpack: fix decoding of files with many channels
Paul B Mahol [Fri, 28 Dec 2018 11:16:39 +0000 (12:16 +0100)]
avcodec/wavpack: fix decoding of files with many channels

Fixes decoding of Run_The_Race_-_3rd_Order_Ambisonic_SN3D.wv

5 years agoconfigure: Make sure libpostproc can be found if -rpath-link doesn't work.
Carl Eugen Hoyos [Fri, 21 Dec 2018 23:04:43 +0000 (00:04 +0100)]
configure: Make sure libpostproc can be found if -rpath-link doesn't work.

Solaris ld takes "-rpath-link=libpostproc" as indication to search in "-link=libpostproc".

5 years agolavf/vividas: Support demuxing on big-endian hardware.
Carl Eugen Hoyos [Sun, 23 Dec 2018 00:34:55 +0000 (01:34 +0100)]
lavf/vividas: Support demuxing on big-endian hardware.

5 years agolavf/vividas: Do not increase extradata_size after allocation.
Carl Eugen Hoyos [Sat, 22 Dec 2018 23:34:57 +0000 (00:34 +0100)]
lavf/vividas: Do not increase extradata_size after allocation.

Avoids a crash in avcodec_parameters_from_context().

5 years agoavcodec/mips: [loongson] optimize theora decoding in vp3dsp.
gxw [Thu, 27 Dec 2018 06:16:22 +0000 (14:16 +0800)]
avcodec/mips: [loongson] optimize theora decoding in vp3dsp.

Optimize theora decoding with msa in functions:
1. ff_vp3_idct_add_msa
2. ff_vp3_idct_put_msa
3. ff_vp3_idct_dc_add_msa
4. ff_vp3_v_loop_filter_msa
5. ff_vp3_h_loop_filter_msa
6. ff_put_no_rnd_pixels_l2_msa

Theora decoding speed improved about 36%(from 22fps to 30fps, Tested on loongson 2K1000).

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoafilter/af_afir: remove invalid delay
Paul B Mahol [Thu, 27 Dec 2018 17:00:20 +0000 (18:00 +0100)]
afilter/af_afir: remove invalid delay

5 years agoavfilter/af_afir: remove not needed nb_samples from filter context
Paul B Mahol [Thu, 27 Dec 2018 13:11:12 +0000 (14:11 +0100)]
avfilter/af_afir: remove not needed nb_samples from filter context

5 years agoavfilter/af_afir: remove not needed operations
Paul B Mahol [Thu, 27 Dec 2018 11:55:07 +0000 (12:55 +0100)]
avfilter/af_afir: remove not needed operations

5 years agoavfilter/af_sofalizer: use av_log2()
Paul B Mahol [Thu, 27 Dec 2018 11:31:01 +0000 (12:31 +0100)]
avfilter/af_sofalizer: use av_log2()

5 years agoavfilter/af_headphone: use av_log2()
Paul B Mahol [Thu, 27 Dec 2018 11:30:04 +0000 (12:30 +0100)]
avfilter/af_headphone: use av_log2()

5 years agoavfilter/af_afir: remove dead store variable
Paul B Mahol [Wed, 26 Dec 2018 21:30:10 +0000 (22:30 +0100)]
avfilter/af_afir: remove dead store variable

5 years agoavfilter/af_afir: remove unused variable
Paul B Mahol [Wed, 26 Dec 2018 18:00:00 +0000 (19:00 +0100)]
avfilter/af_afir: remove unused variable

5 years agoswscale/output: Altivec-optimize float yuv2plane1
Lauri Kasanen [Sun, 16 Dec 2018 09:06:53 +0000 (11:06 +0200)]
swscale/output: Altivec-optimize float yuv2plane1

This function wouldn't benefit from VSX instructions, so I put it
under altivec.

./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt grayf32le \
-f null -vframes 100 -v error -nostats -

3743 UNITS in planar1,   65495 runs,     41 skips

-cpuflags 0

23511 UNITS in planar1,   65530 runs,      6 skips

grayf32be

4647 UNITS in planar1,   65449 runs,     87 skips

-cpuflags 0

28608 UNITS in planar1,   65530 runs,      6 skips

The native speedup is 6.28133, and the bswapping one 6.15623.
Fate passes, each format tested with an image to video conversion.

Signed-off-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/dnxhddec: fix block alignment
Ramiro Polla [Wed, 26 Dec 2018 16:56:27 +0000 (13:56 -0300)]
avcodec/dnxhddec: fix block alignment

blockdsp requires 32 byte alignment.

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavcodec/4xm: fix block alignment
Ramiro Polla [Wed, 26 Dec 2018 16:54:30 +0000 (13:54 -0300)]
avcodec/4xm: fix block alignment

blockdsp requires 32 byte alignment.

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavformat/hlsenc: remove unused variable to fix compiler warning
Steven Liu [Wed, 26 Dec 2018 11:29:18 +0000 (19:29 +0800)]
avformat/hlsenc: remove unused variable to fix compiler warning

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
5 years agoFix usage of temp_file flag in hls_flags option.
Adrian Guzowski [Mon, 17 Dec 2018 22:14:53 +0000 (23:14 +0100)]
Fix usage of temp_file flag in hls_flags option.

This is a regression introduced by 223d2bde22ce33dcbcb6f17f234b609cb98f1fb6.
It appears that regression was introduced in 4.1, 4.0.x does not share
this behaviour.

Temp files were not created for MPEG-TS segments options - HLS_TEMP_FILE
flag was never set on AVFormatContext, it is however set on HLSContext object.
In order to fix this issue, proper flags field must be checked. In addition,
renaming code was messed up and apparently was working only for MP4 files.

5 years agoavformat/hls.c: Properly free prev_segments dynarray after playlist parsing
vkot [Mon, 24 Dec 2018 09:19:55 +0000 (10:19 +0100)]
avformat/hls.c: Properly free prev_segments dynarray after playlist parsing

5 years agolavc/libdavs2: enable multithread
hwrenx [Wed, 26 Dec 2018 11:14:33 +0000 (19:14 +0800)]
lavc/libdavs2: enable multithread

Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: hwrenx <hwrenx@126.com>
5 years agoavfilter/af_headphone: fix regression after 7c201e420
Paul B Mahol [Wed, 26 Dec 2018 09:41:41 +0000 (10:41 +0100)]
avfilter/af_headphone: fix regression after 7c201e420

5 years agoavfilter/af_sofalizer: fix regression after 7ea4b928a264
Paul B Mahol [Wed, 26 Dec 2018 09:17:28 +0000 (10:17 +0100)]
avfilter/af_sofalizer: fix regression after 7ea4b928a264

5 years agoavfilter/af_sofalizer: fix typo in comments
Paul B Mahol [Tue, 25 Dec 2018 23:27:48 +0000 (00:27 +0100)]
avfilter/af_sofalizer: fix typo in comments

5 years agoavfilter/af_sofalizer: use float constants
Paul B Mahol [Tue, 25 Dec 2018 22:26:49 +0000 (23:26 +0100)]
avfilter/af_sofalizer: use float constants

5 years agoavfilter/af_sofalizer: add fltp sample format support
Paul B Mahol [Tue, 25 Dec 2018 21:32:05 +0000 (22:32 +0100)]
avfilter/af_sofalizer: add fltp sample format support

5 years agoavformat/mxfenc: support writing subsecond precision timestamps
Marton Balint [Sat, 22 Dec 2018 19:02:09 +0000 (20:02 +0100)]
avformat/mxfenc: support writing subsecond precision timestamps

Signed-off-by: Marton Balint <cus@passwd.hu>
5 years agoavformat/mxfdec: support subsecond precision of decoded timestamps
Marton Balint [Sat, 22 Dec 2018 18:41:08 +0000 (19:41 +0100)]
avformat/mxfdec: support subsecond precision of decoded timestamps

Signed-off-by: Marton Balint <cus@passwd.hu>
5 years agoavformat/mxfdec: replace obsolete comment
Marton Balint [Sat, 22 Dec 2018 18:25:13 +0000 (19:25 +0100)]
avformat/mxfdec: replace obsolete comment

We no longer use strftime directly but use av_timegm to get an int64_t timestamp.

Signed-off-by: Marton Balint <cus@passwd.hu>
5 years agoavfilter/af_headphone: speed up fast convolution
Paul B Mahol [Tue, 25 Dec 2018 18:17:25 +0000 (19:17 +0100)]
avfilter/af_headphone: speed up fast convolution

Do IFFT only once per output channel.

5 years agoavfilter/af_sofalizer: speed up fast convolution
Paul B Mahol [Tue, 25 Dec 2018 17:46:07 +0000 (18:46 +0100)]
avfilter/af_sofalizer: speed up fast convolution

Do inverse FFT only once per output channel.

5 years agoavcodec/lagarith: Remove duplicate check
Michael Niedermayer [Mon, 24 Dec 2018 00:14:49 +0000 (01:14 +0100)]
avcodec/lagarith: Remove duplicate check

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/libvpxenc: add VP8/9 sharpness config option
Rene Claus [Fri, 21 Dec 2018 18:36:03 +0000 (10:36 -0800)]
avcodec/libvpxenc: add VP8/9 sharpness config option

This commit adds configuration options to libvpxenc.c that can be used to
tune the sharpness parameter for VP8 and VP9.

Signed-off-by: Rene Claus <rclaus@google.com>
Signed-off-by: James Zern <jzern@google.com>
5 years agoavcodec/mips: Fix failed case: hevc-conformance-AMP_A_Samsung_* when enable msa
gxw [Mon, 24 Dec 2018 06:07:44 +0000 (14:07 +0800)]
avcodec/mips: Fix failed case: hevc-conformance-AMP_A_Samsung_* when enable msa

The AV_INPUT_BUFFER_PADDING_SIZE has been increased to 64, but the value is still 32
in function ff_hevc_sao_edge_filter_8_msa. So, use AV_INPUT_BUFFER_PADDING_SIZE directly.
Also, use MAX_PB_SIZE directly instead of 64. Fate tests passed.

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/af_surround: fix code indentation
Paul B Mahol [Mon, 24 Dec 2018 19:58:12 +0000 (20:58 +0100)]
avfilter/af_surround: fix code indentation

5 years agoavfilter/af_headphone: do not reduce LFE gain too much
Paul B Mahol [Mon, 24 Dec 2018 14:22:44 +0000 (15:22 +0100)]
avfilter/af_headphone: do not reduce LFE gain too much

5 years agoavfilter/af_sofalizer: do not reduce LFE by 6dB
Paul B Mahol [Mon, 24 Dec 2018 14:19:37 +0000 (15:19 +0100)]
avfilter/af_sofalizer: do not reduce LFE by 6dB

It is already reduced enough.

5 years agoavformat/hlsenc: remove duplicate operation at hls_write_header
Steven Liu [Wed, 12 Dec 2018 07:37:01 +0000 (15:37 +0800)]
avformat/hlsenc: remove duplicate operation at hls_write_header

the options have set when avformat_init_output at hls_mux_init

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
5 years agoavfilter/af_sofalizer: fix memory leaks
Paul B Mahol [Sun, 23 Dec 2018 20:49:30 +0000 (21:49 +0100)]
avfilter/af_sofalizer: fix memory leaks

5 years agoavfilter/af_sofalizer: set delays when interpolation is disabled
Paul B Mahol [Sun, 23 Dec 2018 20:40:07 +0000 (21:40 +0100)]
avfilter/af_sofalizer: set delays when interpolation is disabled

5 years agoavcodec/wmavoice: use init_get_bits8()
Paul B Mahol [Sun, 23 Dec 2018 20:06:22 +0000 (21:06 +0100)]
avcodec/wmavoice: use init_get_bits8()

5 years agoavcodec/g722dec: use init_get_bits8()
Paul B Mahol [Sun, 23 Dec 2018 20:01:17 +0000 (21:01 +0100)]
avcodec/g722dec: use init_get_bits8()

5 years agoavcodec/fic: use init_get_bits8()
Paul B Mahol [Sun, 23 Dec 2018 19:49:19 +0000 (20:49 +0100)]
avcodec/fic: use init_get_bits8()

5 years agoavcodec/fic: Fail on invalid slice size/off
Michael Niedermayer [Sun, 16 Dec 2018 20:43:07 +0000 (21:43 +0100)]
avcodec/fic: Fail on invalid slice size/off

Fixes: Timeout
Fixes: 11486/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FIC_fuzzer-5677133863583744
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/ivi: Avoid mbs memleak
Michael Niedermayer [Thu, 13 Dec 2018 02:16:04 +0000 (03:16 +0100)]
avcodec/ivi: Avoid mbs memleak

Fixes: 11696/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5740319635668992
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/ilbcdec: fix integer overflow in energy
Michael Niedermayer [Sun, 9 Dec 2018 01:26:18 +0000 (02:26 +0100)]
avcodec/ilbcdec: fix integer overflow in energy

webrtc uses a int32_t like the existing code in ilbcdec

Fixes: signed integer overflow: 2080245063 + 257939661 cannot be represented in type 'int'
Fixes: 11037/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ILBC_fuzzer-5682976612941824
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/af_sofalizer: stop using easy API
Paul B Mahol [Sun, 23 Dec 2018 16:56:59 +0000 (17:56 +0100)]
avfilter/af_sofalizer: stop using easy API

Easy API is not flexible enough for our needs.

5 years agoavcodec/g723_1dec: use init_get_bits8()
Paul B Mahol [Sun, 23 Dec 2018 14:40:47 +0000 (15:40 +0100)]
avcodec/g723_1dec: use init_get_bits8()

5 years agoavcodec: add g732_1 parser
Paul B Mahol [Tue, 18 Dec 2018 19:46:13 +0000 (20:46 +0100)]
avcodec: add g732_1 parser

5 years agoavfilter/af_sofalizer: reset FFT pointers back to NULL
Paul B Mahol [Sun, 23 Dec 2018 10:30:01 +0000 (11:30 +0100)]
avfilter/af_sofalizer: reset FFT pointers back to NULL

5 years agoavfilter/af_sofalizer: pick IR length after loading sofa
Paul B Mahol [Sun, 23 Dec 2018 10:02:34 +0000 (11:02 +0100)]
avfilter/af_sofalizer: pick IR length after loading sofa

Instead of picking it in preloading stage.

5 years agoavfilter/af_sofalizer: increase range for lfegain
Paul B Mahol [Sun, 23 Dec 2018 09:00:44 +0000 (10:00 +0100)]
avfilter/af_sofalizer: increase range for lfegain

Fixes #7634.

5 years agoavformat/dashdec: refine uri path with double dot process
Gorilla Maguila [Sun, 23 Dec 2018 07:18:55 +0000 (15:18 +0800)]
avformat/dashdec: refine uri path with double dot process

fix ticket: 7540

5 years agoavformat/mxfdec: Do not process zero modified_date timestamp.
Michael Niedermayer [Sat, 22 Dec 2018 18:44:29 +0000 (19:44 +0100)]
avformat/mxfdec: Do not process zero modified_date timestamp.

This causes windows to fail as the timestamp is outside its supported range
Fixes regression & fate

Reviewed-by: Marton Balint <cus@passwd.hu>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/af_headphone: fix filtering of non-power of 2 length IRs in time domain
Paul B Mahol [Sat, 22 Dec 2018 19:44:15 +0000 (20:44 +0100)]
avfilter/af_headphone: fix filtering of non-power of 2 length IRs in time domain

5 years agoavformat/mpegts: unset DTS/PTS for subtitle PES packets if PCR not available
Jan Ekström [Sat, 15 Dec 2018 18:50:41 +0000 (20:50 +0200)]
avformat/mpegts: unset DTS/PTS for subtitle PES packets if PCR not available

Fixes issues when a subtitle packet is received before PCR for the
program has been received, leading to wildly jumping timestamps
on the lavf client side as well as in the re-ordering logic.

This usually happens in case of multiplexes where the PCR of a
program is not taken into account with subtitle tracks' DTS/PTS.

5 years agocbs_av1: Fix reading of overlong uvlc codes
Mark Thompson [Sun, 2 Dec 2018 20:49:24 +0000 (20:49 +0000)]
cbs_av1: Fix reading of overlong uvlc codes

The specification allows 2^32-1 to be encoded as any number of zeroes
greater than 31, followed by a one.  This previously failed because the
trace code would overflow the array containing the string representation
of the bits if there were more than 63 zeroes.  Fix that by splitting the
trace output into batches, and at the same time move it out of the default
path.

(While this seems likely to be a specification error, libaom does support
it so we probably should as well.)

From a test case by keval shah <skeval65@gmail.com>.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavformat/avio: fix avio_feof documentation
Marton Balint [Sat, 8 Dec 2018 22:05:45 +0000 (23:05 +0100)]
avformat/avio: fix avio_feof documentation

It has been this way too long to change behaviour, so let's change the docs
instead.

Signed-off-by: Marton Balint <cus@passwd.hu>
5 years agopostproc/postprocess_template: remove FF_REG_sp from clobber list
Michael Niedermayer [Thu, 20 Dec 2018 21:40:06 +0000 (22:40 +0100)]
postproc/postprocess_template: remove FF_REG_sp from clobber list

Future gcc may no longer support this

Tested-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agopostproc/postprocess_template: Avoid using %4 for the threshold compare
Michael Niedermayer [Thu, 20 Dec 2018 21:40:05 +0000 (22:40 +0100)]
postproc/postprocess_template: Avoid using %4 for the threshold compare

This avoids problems if %4 is the stack pointer
the constraints do not allow %4 to be the stack pointer but gcc 9 may
no longer support specifying such constraints

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/af_sofalizer: fix non-power of 2 IR length filtering in time domain
Paul B Mahol [Sat, 22 Dec 2018 15:19:21 +0000 (16:19 +0100)]
avfilter/af_sofalizer: fix non-power of 2 IR length filtering in time domain

5 years agoavformat/vividas: check if viv->sb_pb is not NULL
Paul B Mahol [Sat, 22 Dec 2018 12:36:36 +0000 (13:36 +0100)]
avformat/vividas: check if viv->sb_pb is not NULL

5 years agoavformat/vividas: check if size is enough big in xor_block
Paul B Mahol [Sat, 22 Dec 2018 09:45:22 +0000 (10:45 +0100)]
avformat/vividas: check if size is enough big in xor_block

5 years agoavformat/vividas: fix undefined behaviour
Paul B Mahol [Sat, 22 Dec 2018 09:39:03 +0000 (10:39 +0100)]
avformat/vividas: fix undefined behaviour

5 years agoavformat/vividas: check if value from ffio_read_varlen() is too big
Paul B Mahol [Sat, 22 Dec 2018 09:37:55 +0000 (10:37 +0100)]
avformat/vividas: check if value from ffio_read_varlen() is too big

5 years agoAPIChanges: add missing entry for SMPTE2094-40 HDR Dynamic metadata API
James Almer [Sat, 22 Dec 2018 00:24:00 +0000 (21:24 -0300)]
APIChanges: add missing entry for SMPTE2094-40 HDR Dynamic metadata API

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agolavc/opus_rc: Cast a const pointer to uint8_t *.
Carl Eugen Hoyos [Mon, 17 Dec 2018 01:36:26 +0000 (02:36 +0100)]
lavc/opus_rc: Cast a const pointer to uint8_t *.

Silences a warning with clang on arm:
libavcodec/opus_rc.c:170:17: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'void *' discards qualifiers

5 years agoAdd HDR dynamic metadata struct (for SMPTE 2094-40) to libavutil
Mohammad Izadi [Fri, 21 Dec 2018 16:45:48 +0000 (17:45 +0100)]
Add HDR dynamic metadata struct (for SMPTE 2094-40) to libavutil

The dynamic metadata contains data for color volume transform -
application 4 of SMPTE 2094-40:2016 standard. The data comes from
HEVC in the SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
5 years agoavfilter/af_headphone: use fabsf() instead of fabs()
Paul B Mahol [Fri, 21 Dec 2018 11:06:03 +0000 (12:06 +0100)]
avfilter/af_headphone: use fabsf() instead of fabs()

5 years agoavfilter/af_sofalizer: use fabsf() instead of fabs()
Paul B Mahol [Fri, 21 Dec 2018 10:53:44 +0000 (11:53 +0100)]
avfilter/af_sofalizer: use fabsf() instead of fabs()