Ramiro Polla
ba698a23c6
MAINTAINERS: add my gpg fingerprint
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-23 23:37:19 +01:00
Limin Wang
750a81ba99
avformat/mxfdec: use av_asprintf()
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com >
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-23 23:37:19 +01:00
Lynne
2465fe1302
lavu/tx: add 2-point FFT transform
...
By itself, this allows 6-point, 10-point and 30-point transforms.
When the 9-point transform is added it allows for 18-point FFT,
and also for a 36-point MDCT (used by MP3).
2020-03-23 21:26:25 +00:00
Lynne
9f494d1397
lavu/tx: improve documentation
2020-03-23 21:26:25 +00:00
Ramiro Polla
c455a28a9e
avcodec/wmadec: cosmetics
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2020-03-22 11:55:44 -03:00
Ramiro Polla
c2b540d0c7
avcodec/get_bits: cosmetics
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: James Almer <jamrial@gmail.com >
2020-03-22 11:55:44 -03:00
Limin Wang
a289cc5643
avcodec/decode: increase nb_bsfs after av_bsf_alloc in case alloc failed
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-22 13:00:19 +01:00
Andreas Rheinhardt
9e0f3352d1
avformat/hnm: Check for extradata allocation failure
...
and also add padding to it; moreover, don't use memcpy to write one byte
to extradata.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-22 13:00:19 +01:00
Andreas Rheinhardt
6bd8bcc2ac
avformat/subtitles: Don't increment packet counter prematurely
...
Do it only if the packet has been successfully allocated in
av_new_packet() -- otherwise on error a completely uninitialized packet
would be unreferenced later.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-22 13:00:19 +01:00
Andreas Rheinhardt
5acef12061
avformat/bethsoftvid: Fix potential memleak upon reallocation failure
...
The classical ptr = av_realloc(ptr, size), just with av_fast_realloc().
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-22 13:00:19 +01:00
Andreas Rheinhardt
6e14ddd156
avformat/bethsoftvid: Avoid allocations and frees for palettes
...
by putting the palette in the demuxer's context. This also allows to
remove this demuxer's read_close-function.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-22 13:00:19 +01:00
Andreas Rheinhardt
ea46b45e9c
avcodec/bsf: Beautify log messages from bitstream filters
...
Up until now, the name of every AVBSFContext for logging purposes was
"AVBSFContext", so that the default logging callback produced output
like "[AVBSFContext @ 0x55813bae92c0] Extradata". This has been changed
to "[trace_headers @ 0x60a000000700] Extradata" by adding an item_name-
function to the AVClass for bitstream filters.
Furthermore, the correct category has been set so that the introductory
part before the actual message (everything before "Extradata" in the
above examples) are displayed in a different colour than the rest.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Reviewed-by: Anton Khirnov <anton@khirnov.net >
Signed-off-by: James Almer <jamrial@gmail.com >
2020-03-21 18:52:45 -03:00
Andreas Rheinhardt
d0ba6715d2
avcodec/bsf: Don't set defaults for AVClass without options
...
This happened for AVBSFContext.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Reviewed-by: Anton Khirnov <anton@khirnov.net >
Signed-off-by: James Almer <jamrial@gmail.com >
2020-03-21 18:52:10 -03:00
Michael Niedermayer
c8140fe732
avformat/asfdec_f: Fix overflow check in get_tag()
...
Fixes: signed integer overflow: 2 * 1210064928 cannot be represented in type 'int'
Fixes: 20873/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5761116909338624
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Anton Khirnov <anton@khirnov.net >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-21 20:55:27 +01:00
Carl Eugen Hoyos
559ce9c845
lavf/subviewerdec: Support higher sub-second precision.
...
Fixes ticket #8575 .
2020-03-21 18:46:36 +01:00
Carl Eugen Hoyos
0123a0fd14
common.mak: Also clean Windows debug files.
2020-03-21 18:46:00 +01:00
Paul B Mahol
f39678b3a9
avformat/bink: properly mark packets that are key frames
2020-03-20 14:24:34 +01:00
Anton Khirnov
6eae7e5644
h264dec: do not export the chroma sample location immediately on parsing the SPS
...
This SPS is not necessarily the one that will be used. Export the chroma
location along with all the other SPS properties.
2020-03-20 09:16:05 +01:00
Anton Khirnov
bdd31feec9
sbcdec: do not unnecessarily set frame properties
...
Decoders are supposed to export stream properties in AVCodecContext, the
AVFrame properties are set from those in ff_get_buffer().
2020-03-20 09:16:05 +01:00
Nicolas Gaullier
1ec86be79b
avcodec/mpeg12dec: Add CPB coded side data
...
This fixes mpeg2video stream copies to mpeg muxer like this:
ffmpeg -i xdcamhd.mxf -c:v copy output.mpg
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2020-03-20 09:16:05 +01:00
Nicolas Gaullier
42271f8e18
avcodec/utils: Fix ff_add_cpb_side_data() add twice
...
Makes it behave similarly to av_stream_add_side_data().
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2020-03-20 09:16:05 +01:00
Nicolas Gaullier
2d6baff0c0
avformat/utils: Make find_stream_info get side data from codec context
...
This will allow probing input coded side data, and also forwarding them to the output.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2020-03-20 09:16:05 +01:00
Nicolas Gaullier
eb88ccb92e
avcodec/mpeg12dec: Do not alter avctx->rc_buffer_size
...
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2020-03-20 09:16:05 +01:00
Daniel Playfair Cal
fa41be5743
hwcontext_opencl: include header file in HEADERS
...
This matches the inclusion of the other hwcontext_<hwaccel>.h headers.
The skipping of the header depending on build flags is already present.
Signed-off-by: Daniel Playfair Cal: <daniel.playfair.cal@gmail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2020-03-20 09:16:05 +01:00
Andreas Rheinhardt
d9f38b99dd
fftools/ffmpeg_opt: Fix [u]int64_t specifier string
...
PRId64 and PRIu64 already expand to the complete specifier; adding
another 'd' at the end is wrong and just leads to warnings that say
that only an option like '-frames:v 2d' will be used, although said
option won't be accepted at all ('Expected int64 for frames:v but found
2d').
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2020-03-19 20:06:12 +01:00
Andriy Gelman
140ce8ada6
doc/general: Fix entry for AMQP
...
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2020-03-19 20:06:03 +01:00
Timo Rothenpieler
d9a37af070
avutil/hwcontext_cuda: combine transfer functions
...
Gets rid of some mostly duplicated code and adds the ability to do
hardware to hardware transfers.
2020-03-19 17:38:36 +01:00
Paul B Mahol
c693e7b053
avformat/yuv4mpegdec: add support for 444alpha
2020-03-19 17:34:31 +01:00
Paul B Mahol
4eb5dfb52e
avformat/yuv4mpegdec: use proper error codes
2020-03-19 17:34:31 +01:00
Yaroslav Pogrebnyak
08d46cb586
avutil/hwcontext_cuda: add YUVA420P pixel format
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org >
2020-03-19 16:38:08 +01:00
Paul B Mahol
f5f6fbb6b2
avformat/xwma: return always proper error codes
2020-03-19 10:58:07 +01:00
Linjie Fu
acc6f632b4
lavfi/vf_dnn_processing: Fix compile warning of mixed declarations and code
...
Signed-off-by: Linjie Fu <linjie.fu@intel.com >
Reviewed-by: Guo, Yejun <yejun.guo@intel.com >
2020-03-19 14:27:23 +08:00
Andreas Rheinhardt
daa2fb9a8c
MAINTAINERS: Don't mention Google+
...
It has been shut down in April 2019.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-19 02:19:25 +01:00
Andreas Rheinhardt
c7bcc30f37
MAINTAINERS: Add myself as maintainer for matroska*
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-19 02:19:25 +01:00
Michael Niedermayer
96c0469455
avformat/nsvdec: Fix memleaks on errors while reading the header
...
Fixes: memleaks
Fixes: 21084/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5655975492321280
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 >
2020-03-19 02:19:25 +01:00
Michael Niedermayer
3197b0099b
avcodec/siren: Fix integer overflow in get_dw()
...
Fixes: signed integer overflow: 685813396 + 1803454769 cannot be represented in type 'int'
Fixes: 21073/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SIREN_fuzzer-5744900508483584
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 >
2020-03-19 02:19:25 +01:00
Michael Niedermayer
c85bf16318
avcodec/ffwavesynth: Fix integer overflow in computation of ddphi
...
Fixes: signed integer overflow: 1302123111085380114 - -8319005078741256972 cannot be represented in type 'long'
Fixes: 20991/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-5148554161291264
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-03-18 20:23:15 +01:00
Lynne
2e611cd9c0
MAINTAINERS: add myself and my gpg key
2020-03-18 17:59:49 +00:00
Andriy Gelman
1e3d4fa0fb
avcodec/avcodec: Fix typos
...
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2020-03-18 00:58:07 -03:00
Lynne
1a5e9ae4d8
scale_vulkan: add support for RGB->YUV conversions
...
Only top-left chroma position supported for now.
2020-03-17 22:52:00 +00:00
Lynne
ecc3dceff4
hwcontext_vulkan: fix imported image bitmask
2020-03-17 22:52:00 +00:00
Paul B Mahol
d64cbd4fda
remove CHAR_MIN/CHAR_MAX usage
...
It is not needed at all.
2020-03-17 22:46:36 +01:00
Paul B Mahol
9a2d950f96
doc/general: remove dupe entry and fix section
2020-03-17 20:06:11 +01:00
Paul B Mahol
9f75d33ac3
doc/general: mention more DPCM codecs
2020-03-17 19:52:46 +01:00
Paul B Mahol
a6fd2863ce
doc/general: move apdcm zork to right place
2020-03-17 16:36:54 +01:00
Paul B Mahol
1bc8c38b53
doc/general: mention some added CRI stuff
2020-03-17 16:32:00 +01:00
Paul B Mahol
7322eab453
avformat: add hca demuxer
2020-03-17 16:08:13 +01:00
Paul B Mahol
fed0de3728
avcodec: add CRI HCA decoder
2020-03-17 16:07:25 +01:00
Paul B Mahol
0bbc4914da
avcodec/allcodecs: move sdx2 to correct place
2020-03-17 16:05:49 +01:00
Paul B Mahol
4f248a34c5
avformat: add derf demuxer
2020-03-17 16:05:49 +01:00