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
c4c377bd
Commit
c4c377bd
authored
Dec 04, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use PRId64 to print int64_t
parent
780203a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/ts.c
modules/demux/ts.c
+2
-2
No files found.
modules/demux/ts.c
View file @
c4c377bd
...
...
@@ -2025,7 +2025,7 @@ static int Seek( demux_t *p_demux, double f_percent )
i_head_pos
=
p_sys
->
p_pos
[
i
-
1
];
i_tail_pos
=
(
i
<
p_sys
->
i_pcrs_num
)
?
p_sys
->
p_pos
[
i
]
:
stream_Size
(
p_demux
->
s
);
}
msg_Dbg
(
p_demux
,
"Seek():i_head_pos:%
lld, i_tail_pos:%lld"
,
i_head_pos
,
i_tail_pos
);
msg_Dbg
(
p_demux
,
"Seek():i_head_pos:%
"
PRId64
", i_tail_pos:%"
PRId64
,
i_head_pos
,
i_tail_pos
);
bool
b_found
=
false
;
int
i_cnt
=
0
;
...
...
@@ -2125,7 +2125,7 @@ static void GetLastPCR( demux_t *p_demux )
const
int64_t
TS_SUPPOSED_MINRATE
=
0
.
5
*
1000
*
1000
;
//FIXME
if
(
i_rate
<
TS_SUPPOSED_MINRATE
||
i_rate
>
TS_SUPPOSED_MAXRATE
)
{
msg_Dbg
(
p_demux
,
"calculated bitrate (%
lld
bit/s) is too low or too high. min bitrate (%lldbit/s) max bitrate (%lldbit/s)"
,
msg_Dbg
(
p_demux
,
"calculated bitrate (%
"
PRId64
"
bit/s) is too low or too high. min bitrate (%lldbit/s) max bitrate (%lldbit/s)"
,
i_rate
,
TS_SUPPOSED_MINRATE
,
TS_SUPPOSED_MAXRATE
);
p_sys
->
i_last_pcr
=
-
1
;
}
...
...
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