Michael Niedermayer
487679cc50
avcodec/speexdec: Use correct doxygen comments
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Michael Niedermayer
18bc612f2f
avcodec/dfa: Optimize output reshuffle loop
...
18035 -> 4018 dezicycles (Tested with LOGOS.DFA, gcc 7, 3950X)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
Michael Niedermayer
d1bf5b7d96
avcodec/mjpegbdec: Set buf_size
...
Fixes: Timeout
Fixes: 45170/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEGB_fuzzer-5874820431085568
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years ago
James Almer
85b7be53e1
avcodec/setts_bsf: don't repeatedly set start pts and dts
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
c834083861
avcodec/setts_bsf: fix setting output timebase
...
Set a valid max value for the option, and also check numerator before
assuming the value is useful.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Martin Storsjö
a78f136f3f
configure: Use a separate config_components.h header for $ALL_COMPONENTS
...
This avoids unnecessary rebuilds of most source files if only the
list of enabled components has changed, but not the other properties
of the build, set in config.h.
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years ago
Martin Storsjö
f3a0e2ee2b
doc: Add an entry to APIchanges about changes to version.h and version_major.h
...
Also bump the minor versions of all libraries, to signify the
API change of splitting the version.h headers and adding the
new version_major.h header.
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years ago
Martin Storsjö
f2da2e1458
libavcodec: Split version.h
...
This avoids including version.h in all source files, avoiding
unnecessary rebuilds when the version number is bumped. Only
version_major.h is included by the main header, which defines
availability of e.g. FF_API_* macros, and which is bumped much
less often.
This isn't done for libavutil/version.h, because that header needs
to be included essentially everywhere due to LIBAVUTIL_VERSION_INT
being used wherever an AVClass is constructed.
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years ago
James Almer
3aeeee1597
avcodec/hevc_refs: don't use the frame's AVBufferRef sizes when initializing planes
...
Use the actual plane sizes instead.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Marton Balint
ef2b3efd51
avcodec/codec_par: do not copy AVChannelLayout struct directly
...
Later we use av_channel_layout_copy, but that uninits the struct
unintentionally freeing the possibly allocated u.map pointer.
Signed-off-by: Marton Balint <cus@passwd.hu>
3 years ago
James Almer
cdba98bb80
Bump minor versions after the channel layout changes
...
Forgotten in the respective commits adding new API.
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
f0be7c1057
avcodec/audiotoolboxenc: add missing AVCodec.ch_layouts
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
739c96ba1a
avcodec/dca_lbr: set nchannels
...
Fixes warnings about uninitialized values
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
a02663d997
avcodec/audiotoolboxenc: use the correct macros for standard channel layouts
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Martin Storsjö
6383862ae2
avcodec/audiotoolboxenc: Fix the use of FF_ARRAY_ELEMS
...
Signed-off-by: Martin Storsjö <martin@martin.st>
3 years ago
James Almer
793c85bc4d
avcodec/audiotoolboxenc: use the correct function name
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
e6358ec1ac
opus: export mapping family 2 (Ambisonic) as Ambisonic layout
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
7d532f474d
tests: convert to new channel layout-API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
5636972c7a
lavc: drop temporary compat wrappers for channel layout API change
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
bfe86a761a
ws-snd1: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
3c933af493
wma: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
03ba5cf321
wavpack: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
457e88fcaf
vorbis: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
eb81c946c1
vmdaudio: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Vittorio Giovara
972586344a
vima: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Vittorio Giovara
9386ca98b6
twinvq: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
1191ffd50a
tta: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
0045c6dd5c
truespeech: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
cf512325cb
tak: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
2b1fd08f3f
speex: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
73cb6c87ac
sonic: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
a9dfca7c59
smacker: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
James Almer
35789608ae
siren: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
6114a1f71d
sipr: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
fb722bab3e
shorten: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
b7483d02c2
sbc: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
3caf14e0a4
s302m: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
1d4e6ce31c
roqaudioenc: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
05cce829ee
ralf: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
b6c62cda7d
ra288: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
513c0e276f
ra144: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
063e5f1fa9
qdm2: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
884a97de69
qdmc: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
b7716325d9
qcelpdec: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
ac0d207a1a
pcm: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Vittorio Giovara
d2a360c139
pafaudio: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
cc37640a72
opus: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
045d6b9abf
on2avc: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
8777ea2b01
nellymoser: convert to new channel layout API
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Anton Khirnov
53d25983bf
mpegaudio: convert to new channel layout API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago