Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Vorbis tools
Commits
7c5e2eab
Commit
7c5e2eab
authored
Dec 18, 2020
by
Philipp Schafft
🦁
Browse files
Update: Added some consts
parent
b7ffabd2
Changes
3
Hide whitespace changes
Inline
Side-by-side
ogginfo/codec_other.c
View file @
7c5e2eab
...
...
@@ -28,7 +28,7 @@ static void process_other(stream_processor *stream, ogg_page *page )
}
}
void
other_start
(
stream_processor
*
stream
,
char
*
type
)
void
other_start
(
stream_processor
*
stream
,
const
char
*
type
)
{
if
(
type
)
{
stream
->
type
=
type
;
...
...
ogginfo/ogginfo2.c
View file @
7c5e2eab
...
...
@@ -65,7 +65,7 @@ static stream_set *create_stream_set(void) {
return
set
;
}
void
info
(
char
*
format
,
...)
void
info
(
const
char
*
format
,
...)
{
va_list
ap
;
...
...
@@ -77,7 +77,7 @@ void info(char *format, ...)
va_end
(
ap
);
}
void
warn
(
char
*
format
,
...)
void
warn
(
const
char
*
format
,
...)
{
va_list
ap
;
...
...
@@ -90,7 +90,7 @@ void warn(char *format, ...)
va_end
(
ap
);
}
void
error
(
char
*
format
,
...)
void
error
(
const
char
*
format
,
...)
{
va_list
ap
;
...
...
ogginfo/private.h
View file @
7c5e2eab
...
...
@@ -26,23 +26,23 @@ typedef struct _stream_processor {
int
end
;
int
num
;
char
*
type
;
const
char
*
type
;
ogg_uint32_t
serial
;
/* must be 32 bit unsigned */
ogg_stream_state
os
;
void
*
data
;
}
stream_processor
;
void
info
(
char
*
format
,
...);
void
warn
(
char
*
format
,
...);
void
error
(
char
*
format
,
...);
void
info
(
const
char
*
format
,
...);
void
warn
(
const
char
*
format
,
...);
void
error
(
const
char
*
format
,
...);
void
check_xiph_comment
(
stream_processor
*
stream
,
int
i
,
const
char
*
comment
,
int
comment_length
);
void
vorbis_start
(
stream_processor
*
stream
);
void
theora_start
(
stream_processor
*
stream
);
void
kate_start
(
stream_processor
*
stream
);
void
other_start
(
stream_processor
*
stream
,
char
*
type
);
void
other_start
(
stream_processor
*
stream
,
const
char
*
type
);
void
invalid_start
(
stream_processor
*
stream
);
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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