Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c122052b
Commit
c122052b
authored
Sep 26, 2007
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Mar 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i_total is an int not an unsigned int.
parent
a5ea3d08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/codec/zvbi.c
modules/codec/zvbi.c
+3
-2
No files found.
modules/codec/zvbi.c
View file @
c122052b
...
...
@@ -314,7 +314,8 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
if
(
p_sys
->
b_text
)
{
/* Separate subs and print as ASCII */
unsigned
int
i_total
,
i_textsize
=
7000
;
int
i_total
;
unsigned
int
i_textsize
=
7000
;
char
p_text
[
7000
];
// "ISO-8859-1"
i_total
=
vbi_print_page_region
(
&
p_page
,
p_text
,
i_textsize
,
...
...
@@ -331,7 +332,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
else
{
vbi_draw_vt_page
(
&
p_page
,
VBI_PIXFMT_RGBA32_LE
,
p_spu
->
p_region
->
picture
.
p
->
p_pixels
,
1
,
1
);
p_spu
->
p_region
->
picture
.
p
->
p_pixels
,
1
,
1
);
p_spu
->
p_region
->
picture
.
p
->
i_lines
=
p_page
.
rows
*
10
;
p_spu
->
p_region
->
picture
.
p
->
i_pitch
=
p_page
.
columns
*
12
*
4
;
}
...
...
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