Andreas Rheinhardt
834ef6f4a9
avcodec/dvbsubdec: Add const where appropriate
...
These pointers sometimes point to static storage (namely to
default_clut), so adding const to the pointed-to type is important to
ensure that one does not accidentally modify something that is not owned
by a single AVCodecContext.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:42 +02:00
Andreas Rheinhardt
2a4cedace4
avcodec/movtextenc, srtenc, webvttenc: Mark encoders as init-threadsafe
...
They all rely on ff_ass_split(), which does not have any static state.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:42 +02:00
Andreas Rheinhardt
55982b9447
avcodec/assenc: Mark encoders as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:42 +02:00
Andreas Rheinhardt
30a947b8f8
avcodec/sonic: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:42 +02:00
Andreas Rheinhardt
0878ccdcd2
avcodec/sonic: Mark encoders as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
7d4f1f4d99
avcodec/dca*: Make decoder init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
e5bc8b6236
avcodec/qtrleenc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
8cca0c22b9
avcodec/wavpackenc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
b1f721f35c
avcodec/qtrle: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
032100687a
avcodec/mpegaudioenc: Mark encoders as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
8320820ada
avcodec/012v: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
d43f0f6136
avcodec/alac: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
bff74c3aea
avcodec/binkaudio: Mark decoders as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 05:14:41 +02:00
Andreas Rheinhardt
e87edfc28a
avcodec/sanm: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:14:03 +02:00
Andreas Rheinhardt
94b3ce05b9
avcodec/takdec: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:13:32 +02:00
Andreas Rheinhardt
07efb4b603
avcodec/v410dec: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:13:13 +02:00
Andreas Rheinhardt
e7db133864
avcodec/tiertexseqv: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:13:03 +02:00
Andreas Rheinhardt
af815d4bea
avcodec/vmnc: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:12:39 +02:00
Andreas Rheinhardt
81615a265f
avcodec/v308dec: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:12:28 +02:00
Andreas Rheinhardt
dcad675831
avcodec/v210x: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:12:10 +02:00
Andreas Rheinhardt
a2ba5bcb56
avcodec/v210dec: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:11:32 +02:00
Andreas Rheinhardt
28b63eb005
avcodec/vcr1: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:10:41 +02:00
Andreas Rheinhardt
5b4aa634f2
avcodec/vqavideo: Cleanup generically on init failure
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:09:18 +02:00
Andreas Rheinhardt
c4c077ada5
avcodec/vqavideo: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:08:05 +02:00
Andreas Rheinhardt
2c9d398f74
avcodec/vb: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:07:53 +02:00
Andreas Rheinhardt
759dcd236f
avcodec/bmvaudio: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:07:35 +02:00
Andreas Rheinhardt
5dc5bb9b2b
avcodec/ttaenc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:06:45 +02:00
Andreas Rheinhardt
010072d148
avcodec/tta: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:05:34 +02:00
Andreas Rheinhardt
3feccede3b
avcodec/vmdaudio: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:04:23 +02:00
Andreas Rheinhardt
acde66082f
avcodec/vima: Make decoder init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:02:13 +02:00
Andreas Rheinhardt
58ca07320b
avcodec/adxdec: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 04:01:49 +02:00
Andreas Rheinhardt
4051599cea
avcodec/truespeech: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:59:41 +02:00
Andreas Rheinhardt
53c077d5ad
avcodec/ra288: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:59:17 +02:00
Andreas Rheinhardt
0ef263eb43
avcodec/bintext: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:57:18 +02:00
Andreas Rheinhardt
fb8d711a5e
avcodec/truemotion1: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:56:48 +02:00
Andreas Rheinhardt
344bd79455
avcodec/targa_y216dec: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:55:58 +02:00
Andreas Rheinhardt
d537933e73
avcodec/kvg1dec: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:55:08 +02:00
Andreas Rheinhardt
2648df16c6
avcodec/4xm: Make decoder init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:52:06 +02:00
Andreas Rheinhardt
c13b3fdb19
avcodec/8svx: Mark decoders as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:51:40 +02:00
Andreas Rheinhardt
e6f13f9a37
avcodec/bitpacked: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:51:17 +02:00
Andreas Rheinhardt
c549a94b9d
avcodec/argo: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:51:00 +02:00
Andreas Rheinhardt
f812913451
avcodec/arbc: Mark decoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:50:49 +02:00
Andreas Rheinhardt
d0f90e23b4
avcodec/adxenc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:50:21 +02:00
Andreas Rheinhardt
beaf065f82
avcodec/alacenc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:49:24 +02:00
Andreas Rheinhardt
4405633e6f
avcodec/s302menc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:48:35 +02:00
Andreas Rheinhardt
71d47100b4
avcodec/v308enc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:48:24 +02:00
Andreas Rheinhardt
22593180fe
avcodec/v410enc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:48:16 +02:00
Andreas Rheinhardt
f8dce2aaac
avcodec/targaenc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:47:33 +02:00
Andreas Rheinhardt
2b54a29762
avcodec/tiffenc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:47:00 +02:00
Andreas Rheinhardt
602174b821
avcodec/v210enc: Mark encoder as init-threadsafe
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:46:30 +02:00