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
25a48a4e
Commit
25a48a4e
authored
Aug 13, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid printf for debug
parent
1375539f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
+12
-13
modules/access/rtsp/real.c
modules/access/rtsp/real.c
+0
-1
modules/demux/ty.c
modules/demux/ty.c
+3
-3
modules/misc/xml/xtag.c
modules/misc/xml/xtag.c
+9
-9
No files found.
modules/access/rtsp/real.c
View file @
25a48a4e
...
...
@@ -641,7 +641,6 @@ rmff_header_t *real_setup_and_get_header(rtsp_client_t *rtsp_session, int bandw
if
(
alert
)
{
lprintf
(
"real: got message from server:
\n
%s
\n
"
,
alert
);
}
printf
(
"bou
\n
"
);
rtsp_send_ok
(
rtsp_session
);
free
(
challenge1
);
free
(
alert
);
...
...
modules/demux/ty.c
View file @
25a48a4e
...
...
@@ -828,10 +828,10 @@ static int DemuxRecAudio( demux_t *p_demux, ty_rec_hdr_t *rec_hdr, block_t *p_bl
return
-
1
;
#if 0
int i;
printf(
"Audio Packet Header " );
fprintf( stderr,
"Audio Packet Header " );
for( i = 0 ; i < 24 ; i++ )
printf(
"%2.2x ", p_block_in->p_buffer[i] );
printf(
"\n" );
fprintf( stderr,
"%2.2x ", p_block_in->p_buffer[i] );
fprintf( stderr,
"\n" );
#endif
if
(
subrec_type
==
2
)
...
...
modules/misc/xml/xtag.c
View file @
25a48a4e
...
...
@@ -294,7 +294,7 @@ static char *ReaderName( xml_reader_t *p_reader )
{
psz_name
=
xtag_get_name
(
p_reader
->
p_sys
->
p_curtag
);
#ifdef XTAG_DEBUG
printf
(
"TAG: %s
\n
"
,
psz_name
);
fprintf
(
stderr
,
"TAG: %s
\n
"
,
psz_name
);
#endif
}
else
...
...
@@ -310,7 +310,7 @@ static char *ReaderValue( xml_reader_t *p_reader )
if
(
p_reader
->
p_sys
->
p_curtag
->
pcdata
)
{
#ifdef XTAG_DEBUG
printf
(
"%s
\n
"
,
p_reader
->
p_sys
->
p_curtag
->
pcdata
);
fprintf
(
stderr
,
"%s
\n
"
,
p_reader
->
p_sys
->
p_curtag
->
pcdata
);
#endif
return
strdup
(
p_reader
->
p_sys
->
p_curtag
->
pcdata
);
}
...
...
@@ -318,7 +318,7 @@ static char *ReaderValue( xml_reader_t *p_reader )
if
(
!
p_reader
->
p_sys
->
p_curattr
)
return
0
;
#ifdef XTAG_DEBUG
printf
(
"%s=%s
\n
"
,
((
XAttribute
*
)
p_reader
->
p_sys
->
p_curattr
->
data
)
->
name
,
fprintf
(
stderr
,
"%s=%s
\n
"
,
((
XAttribute
*
)
p_reader
->
p_sys
->
p_curattr
->
data
)
->
name
,
((
XAttribute
*
)
p_reader
->
p_sys
->
p_curattr
->
data
)
->
value
);
#endif
...
...
@@ -531,7 +531,7 @@ static XAttribute *xtag_parse_attribute( XTagParser *parser )
if
(
!
xtag_assert_and_pass
(
parser
,
X_EQUAL
)
)
{
#ifdef XTAG_DEBUG
printf
(
"xtag: attr failed EQUAL on <%s>
\n
"
,
name
);
fprintf
(
stderr
,
"xtag: attr failed EQUAL on <%s>
\n
"
,
name
);
#endif
goto
err_free_name
;
}
...
...
@@ -543,7 +543,7 @@ static XAttribute *xtag_parse_attribute( XTagParser *parser )
if
(
value
==
NULL
)
{
#ifdef XTAG_DEBUG
printf
(
"Got NULL quoted attribute value
\n
"
);
fprintf
(
stderr
,
"Got NULL quoted attribute value
\n
"
);
#endif
goto
err_free_name
;
}
...
...
@@ -669,7 +669,7 @@ static XTag *xtag_parse_tag( XTagParser *parser )
if
(
name
==
NULL
)
return
NULL
;
#ifdef XTAG_DEBUG
printf
(
"<%s ...
\n
"
,
name
);
fprintf
(
stderr
,
"<%s ...
\n
"
,
name
);
#endif
tag
=
malloc
(
sizeof
(
*
tag
)
);
...
...
@@ -716,7 +716,7 @@ static XTag *xtag_parse_tag( XTagParser *parser )
if
(
strcmp
(
name
,
tag
->
name
)
)
{
#ifdef XTAG_DEBUG
printf
(
"got %s expected %s
\n
"
,
name
,
tag
->
name
);
fprintf
(
stderr
,
"got %s expected %s
\n
"
,
name
,
tag
->
name
);
#endif
parser
->
valid
=
false
;
}
...
...
@@ -784,7 +784,7 @@ static XTag *xtag_new_parse( const char *s, int n )
else
if
(
n
==
0
)
{
#ifdef XTAG_DEBUG
printf
(
"empty buffer
"
);
fprintf
(
stderr
,
"empty buffer
\n
"
);
#endif
return
NULL
;
}
...
...
@@ -798,7 +798,7 @@ static XTag *xtag_new_parse( const char *s, int n )
if
(
!
parser
.
valid
)
{
#ifdef XTAG_DEBUG
printf
(
"invalid file
"
);
fprintf
(
stderr
,
"invalid file
\n
"
);
#endif
xtag_free
(
tag
);
return
NULL
;
...
...
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