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
fd1f428e
Commit
fd1f428e
authored
Nov 21, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SVCDSub: do not reinvent msg_Dbg
parent
deda40ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
modules/codec/svcdsub.c
modules/codec/svcdsub.c
+4
-9
No files found.
modules/codec/svcdsub.c
View file @
fd1f428e
...
...
@@ -80,13 +80,6 @@ typedef enum {
SUBTITLE_BLOCK_COMPLETE
=
2
}
packet_state_t
;
#ifndef NDEBUG
# define dbg_print( s, args...) \
msg_Dbg(p_dec, "%s: "s, __func__ , ##args)
#else
# define dbg_print( s, args...)
#endif
struct
decoder_sys_t
{
packet_state_t
i_state
;
/* data-gathering state for this subtitle */
...
...
@@ -174,7 +167,9 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
{
block_t
*
p_block
,
*
p_spu
;
dbg_print
(
""
);
#ifndef NDEBUG
msg_Dbg
(
p_dec
,
"Decode"
);
#endif
if
(
pp_block
==
NULL
||
*
pp_block
==
NULL
)
return
NULL
;
...
...
@@ -314,7 +309,7 @@ static block_t *Reassemble( decoder_t *p_dec, block_t *p_block )
p_spu
->
i_buffer
,
p_sys
->
i_spu_size
);
}
dbg_print
(
"subtitle packet complete, size=%zu"
,
p_spu
->
i_buffer
);
msg_Dbg
(
p_dec
,
"subtitle packet complete, size=%zu"
,
p_spu
->
i_buffer
);
p_sys
->
i_state
=
SUBTITLE_BLOCK_EMPTY
;
p_sys
->
p_spu
=
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