Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
a380343c
Commit
a380343c
authored
Dec 01, 2020
by
Andreas Rheinhardt
Committed by
Andreas Rheinhardt
May 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/assdec: Mark decoders as init-threadsafe
Signed-off-by:
Andreas Rheinhardt
<
andreas.rheinhardt@gmail.com
>
parent
b3108b1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
assdec.c
libavcodec/assdec.c
+3
-0
No files found.
libavcodec/assdec.c
View file @
a380343c
...
...
@@ -23,6 +23,7 @@
#include "avcodec.h"
#include "ass.h"
#include "internal.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
...
...
@@ -69,6 +70,7 @@ const AVCodec ff_ssa_decoder = {
.
id
=
AV_CODEC_ID_ASS
,
.
init
=
ass_decode_init
,
.
decode
=
ass_decode_frame
,
.
caps_internal
=
FF_CODEC_CAP_INIT_THREADSAFE
,
};
#endif
...
...
@@ -80,5 +82,6 @@ const AVCodec ff_ass_decoder = {
.
id
=
AV_CODEC_ID_ASS
,
.
init
=
ass_decode_init
,
.
decode
=
ass_decode_frame
,
.
caps_internal
=
FF_CODEC_CAP_INIT_THREADSAFE
,
};
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment