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
5347de88
Commit
5347de88
authored
Aug 12, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavcodec/xsubenc.c: Fix duplicate words
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ad26aa36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
xsubenc.c
libavcodec/xsubenc.c
+1
-1
No files found.
libavcodec/xsubenc.c
View file @
5347de88
...
@@ -190,7 +190,7 @@ static int xsub_encode(AVCodecContext *avctx, unsigned char *buf,
...
@@ -190,7 +190,7 @@ static int xsub_encode(AVCodecContext *avctx, unsigned char *buf,
h
->
rects
[
0
]
->
w
,
h
->
rects
[
0
]
->
h
>>
1
))
h
->
rects
[
0
]
->
w
,
h
->
rects
[
0
]
->
h
>>
1
))
return
-
1
;
return
-
1
;
// Enforce total height to be
be
multiple of 2
// Enforce total height to be
a
multiple of 2
if
(
h
->
rects
[
0
]
->
h
&
1
)
{
if
(
h
->
rects
[
0
]
->
h
&
1
)
{
put_xsub_rle
(
&
pb
,
h
->
rects
[
0
]
->
w
,
PADDING_COLOR
);
put_xsub_rle
(
&
pb
,
h
->
rects
[
0
]
->
w
,
PADDING_COLOR
);
avpriv_align_put_bits
(
&
pb
);
avpriv_align_put_bits
(
&
pb
);
...
...
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