Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a63d4a77
Commit
a63d4a77
authored
May 20, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variables and #ifdef DEBUG_SPUDEC the variables used when DEBUG_SPUDEC is active.
parent
3d274a15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/codec/spudec/parse.c
modules/codec/spudec/parse.c
+3
-3
No files found.
modules/codec/spudec/parse.c
View file @
a63d4a77
...
...
@@ -145,8 +145,6 @@ static int ParseControlSeq( decoder_t *p_dec, subpicture_t *p_spu,
uint8_t
i_command
=
SPU_CMD_END
;
mtime_t
date
=
0
;
unsigned
int
i
,
pi_alpha
[
4
];
/* Initialize the structure */
p_spu
->
i_start
=
p_spu
->
i_stop
=
0
;
p_spu
->
b_ephemer
=
VLC_FALSE
;
...
...
@@ -216,6 +214,7 @@ static int ParseControlSeq( decoder_t *p_dec, subpicture_t *p_spu,
if
(
p_dec
->
fmt_in
.
subs
.
spu
.
palette
[
0
]
==
0xBeeF
)
{
unsigned
int
idx
[
4
];
int
i
;
p_spu_data
->
b_palette
=
VLC_TRUE
;
...
...
@@ -556,9 +555,10 @@ static int ParseRLE( decoder_t *p_dec, subpicture_t * p_spu,
/* Crop if necessary */
if
(
i_skipped_top
||
i_skipped_bottom
)
{
#ifdef DEBUG_SPUDEC
int
i_y
=
p_spu
->
i_y
+
i_skipped_top
;
int
i_height
=
p_spu
->
i_height
-
(
i_skipped_top
+
i_skipped_bottom
);
#endif
p_spu_data
->
i_y_top_offset
=
i_skipped_top
;
p_spu_data
->
i_y_bottom_offset
=
i_skipped_bottom
;
#ifdef DEBUG_SPUDEC
...
...
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