Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c552058e
Commit
c552058e
authored
Dec 10, 2013
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ogg: fix format strings for debug messages
parent
d1da2a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/mux/ogg.c
modules/mux/ogg.c
+3
-3
No files found.
modules/mux/ogg.c
View file @
c552058e
...
...
@@ -641,7 +641,7 @@ static bool AddIndexEntry( sout_mux_t *p_mux, uint64_t i_time, sout_input_t *p_i
/* update diff points */
p_stream
->
skeleton
.
i_last_keyframe_pos
=
p_sys
->
i_pos
;
p_stream
->
skeleton
.
i_last_keyframe_time
=
i_time
;
msg_Dbg
(
p_mux
,
"Added index on stream %d entry %
"
PRId64
" %"
PRId
64
,
msg_Dbg
(
p_mux
,
"Added index on stream %d entry %
zd %"
PRIu
64
,
p_stream
->
i_serial_no
,
p_sys
->
i_pos
-
p_sys
->
i_segment_start
,
i_time
);
return
true
;
...
...
@@ -1396,7 +1396,7 @@ static bool AllocateIndex( sout_mux_t *p_mux, sout_input_t *p_input )
msg_Dbg
(
p_mux
,
"No stream length, using default allocation for index"
);
}
i_size
*=
(
8
.
0
/
7
);
/* 7bits encoding overhead */
msg_Dbg
(
p_mux
,
"allocating %
"
PRId64
"
bytes for index"
,
i_size
);
msg_Dbg
(
p_mux
,
"allocating %
zu
bytes for index"
,
i_size
);
p_stream
->
skeleton
.
p_index
=
calloc
(
i_size
,
sizeof
(
uint8_t
)
);
if
(
!
p_stream
->
skeleton
.
p_index
)
return
false
;
p_stream
->
skeleton
.
i_index_size
=
i_size
;
...
...
@@ -1483,7 +1483,7 @@ static int Mux( sout_mux_t *p_mux )
/* If we're switching to end of headers, then that's data start */
if
(
p_sys
->
b_can_add_streams
)
{
msg_Dbg
(
p_mux
,
"data starts from %
"
PRId64
,
p_sys
->
i_pos
);
msg_Dbg
(
p_mux
,
"data starts from %
zu"
,
p_sys
->
i_pos
);
p_sys
->
i_data_start
=
p_sys
->
i_pos
;
}
...
...
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