Commit Graph

102274 Commits

Author SHA1 Message Date
Andreas Rheinhardt
29aaff7edb avcodec/cngenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:40:24 +02:00
Andreas Rheinhardt
0c47b070e0 avcodec/cook: Make decoder init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:39:00 +02:00
Andreas Rheinhardt
980f002b3f avcodec/cook: Remove redundant free
This decoder has the FF_CODEC_CAP_INIT_CLEANUP flag set.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:38:08 +02:00
Andreas Rheinhardt
711f14080c avcodec/cook: Don't use 0 for NULL
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:37:26 +02:00
Andreas Rheinhardt
96755c7332 avcodec/cscd: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:36:53 +02:00
Andreas Rheinhardt
fc2522c9c5 avcodec/dfa: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:35:33 +02:00
Andreas Rheinhardt
55e23c5241 avcodec/dpcm: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:34:38 +02:00
Andreas Rheinhardt
a80b3e5e0e avcodec/dpxenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:33:54 +02:00
Andreas Rheinhardt
50734d7676 avcodec/dsicinaudio: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:33:39 +02:00
Andreas Rheinhardt
12655d63e1 avcodec/dsicinvideo: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:33:06 +02:00
Andreas Rheinhardt
58ef77148c avcodec/dss_sp: Remove redundant memset
An AVCodecContext's priv_data has already been zeroed generically before
calling the init function.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:32:57 +02:00
Andreas Rheinhardt
d3b435f842 avcodec/dss_sp: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:32:45 +02:00
Andreas Rheinhardt
072075f84e avcodec/dvaudiodec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:31:40 +02:00
Andreas Rheinhardt
24bc6ea28f avcodec/dvdsubenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:29:55 +02:00
Andreas Rheinhardt
1dab5699ca avcodec/dxa: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:29:25 +02:00
Andreas Rheinhardt
1d5945cd0f avcodec/eacmv: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:28:21 +02:00
Andreas Rheinhardt
ec7925c454 avcodec/eatgq: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:26:50 +02:00
Andreas Rheinhardt
d3ab662c5c avcodec/eatgv: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:26:29 +02:00
Andreas Rheinhardt
fff618b8b8 avcodec/escape124: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:25:29 +02:00
Andreas Rheinhardt
23566222c3 avcodec/escape130: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:24:54 +02:00
Andreas Rheinhardt
ccad905aa4 avcodec/evrcdec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:23:58 +02:00
Andreas Rheinhardt
843a717b33 avcodec/fastaudio: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:23:37 +02:00
Andreas Rheinhardt
e5fdc682cc avcodec/fic: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:22:07 +02:00
Andreas Rheinhardt
15d003a495 avcodec/flacdec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:19:46 +02:00
Andreas Rheinhardt
9fd34c8bb3 avcodec/flacenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:16:56 +02:00
Andreas Rheinhardt
fa15ad291a avcodec/flashsv: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:15:15 +02:00
Andreas Rheinhardt
de1d67932b avcodec/flashsv: Return error if initializing zlib fails
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:14:24 +02:00
Andreas Rheinhardt
856c1402fe avcodec/flashsv2enc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:14:00 +02:00
Andreas Rheinhardt
b6a977f4bb avcodec/flashsvenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:13:01 +02:00
Andreas Rheinhardt
072d2caf42 avcodec/flicvideo: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:12:21 +02:00
Andreas Rheinhardt
f95e1a7355 avcodec/frwu: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:12:10 +02:00
Andreas Rheinhardt
dc5385b6e2 avcodec/gif: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:08:56 +02:00
Andreas Rheinhardt
30a5b66a7c avcodec/g729dec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:08:37 +02:00
Andreas Rheinhardt
be633f1237 avcodec/g726: Mark encoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:08:08 +02:00
Andreas Rheinhardt
d40579c3cb avcodec/g726: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:06:04 +02:00
Andreas Rheinhardt
995ac7b55a avcodec/g723_1enc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:05:46 +02:00
Andreas Rheinhardt
2079f95b38 avcodec/g723_1dec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:05:12 +02:00
Andreas Rheinhardt
dde57205e1 avcodec/g722enc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:04:22 +02:00
Andreas Rheinhardt
2da9b77a1c avcodec/g722dec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:03:28 +02:00
Andreas Rheinhardt
406d005601 avcodec/huffyuvdec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 03:02:56 +02:00
Andreas Rheinhardt
908187bbf6 avcodec/huffyuvdec: Cleanup generically on init failure
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:58:47 +02:00
Andreas Rheinhardt
b3df59a5ea avcodec/hnm4video: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:57:55 +02:00
Andreas Rheinhardt
c437afa3d3 avcodec/hcom: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:56:55 +02:00
Andreas Rheinhardt
19b8a405d6 avcodec/interplayvideo: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:56:03 +02:00
Andreas Rheinhardt
e6142f2695 avcodec/interplayacm: Make decoder init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:54:51 +02:00
Andreas Rheinhardt
8d87e1ef6c avcodec/indeo3: Make decoder init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:53:38 +02:00
Andreas Rheinhardt
8b8358f580 avcodec/ilbcdec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:53:27 +02:00
Andreas Rheinhardt
abe61c349d avcodec/iff: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:51:52 +02:00
Andreas Rheinhardt
9ae6f5ae92 avcodec/iff: Reorder checks to avoid unnecessary alloc+free
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:50:34 +02:00
Andreas Rheinhardt
3d0559ee7d avcodec/jvdec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-05-02 02:50:18 +02:00