Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
653af9f1
Commit
653af9f1
authored
Feb 27, 2016
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/ass: fix version check for sub_text_format option
parent
8adbe26b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vf_subtitles.c
libavfilter/vf_subtitles.c
+1
-1
No files found.
libavfilter/vf_subtitles.c
View file @
653af9f1
...
...
@@ -393,7 +393,7 @@ static av_cold int init_subtitles(AVFilterContext *ctx)
}
if
(
ass
->
charenc
)
av_dict_set
(
&
codec_opts
,
"sub_charenc"
,
ass
->
charenc
,
0
);
if
(
LIBAVCODEC_VERSION_INT
>=
AV_VERSION_INT
(
57
,
2
5
,
100
))
if
(
LIBAVCODEC_VERSION_INT
>=
AV_VERSION_INT
(
57
,
2
6
,
100
))
av_dict_set
(
&
codec_opts
,
"sub_text_format"
,
"ass"
,
0
);
ret
=
avcodec_open2
(
dec_ctx
,
dec
,
&
codec_opts
);
if
(
ret
<
0
)
...
...
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