Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
352e8b2b
Commit
352e8b2b
authored
Jul 13, 2008
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix a few warnings caused by format string/type mismatches.
parent
487341a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
examples/decode_mpeg.c
examples/decode_mpeg.c
+5
-5
misc/test_dr.h
misc/test_dr.h
+2
-1
No files found.
examples/decode_mpeg.c
View file @
352e8b2b
...
...
@@ -610,7 +610,7 @@ int main(int i_argc, char* pa_argv[])
(
long
long
int
)
p_stream
->
pid
[
i_pid
].
i_pcr
,
(
long
long
int
)
i_prev_pcr
,
(
long
long
int
)
i_delta
,
i_bytes
);
if
(
(
i_delta
>
0
)
)
printf
(
"%lld Kbps"
,
(
(
i_bytes
*
8
)
/
i_delta
)
);
printf
(
"%lld Kbps"
,
(
long
long
int
)(
i_bytes
*
8
)
/
i_delta
);
else
printf
(
"-"
);
if
(
(
i_delta
<=
0
)
||
b_verbose
)
...
...
@@ -620,7 +620,7 @@ int main(int i_argc, char* pa_argv[])
}
}
/* Handle discontinuities if they occured,
/* Handle discontinuities if they occur
r
ed,
* according to ISO/IEC 13818-1: DIS pages 20-22 */
if
(
b_adaptation
)
{
...
...
@@ -641,10 +641,10 @@ int main(int i_argc, char* pa_argv[])
i_pid
,
(
long
long
int
)
p_stream
->
pid
[
i_pid
].
i_pcr
,
(
long
long
int
)
i_prev_pcr
,
i_delta
,
(
long
long
int
)
i_delta
,
i_bytes
);
if
(
i_delta
>
0
)
printf
(
"%lld"
,
(
i_bytes
*
8
)
/
(
i_delta
/
1000
)
);
printf
(
"%lld"
,
(
long
long
int
)(
i_bytes
*
8
)
/
(
i_delta
/
1000
)
);
printf
(
"
\n
"
);
#ifdef HAVE_GETTIMEOFDAY
...
...
misc/test_dr.h
View file @
352e8b2b
...
...
@@ -78,7 +78,8 @@
if(!i_err && (s_decoded.name != p_new_decoded->name)) \
{ \
fprintf(stderr, "\nError: integer %s %llu -> %llu\n", #name, \
(uint64_t)s_decoded.name, (uint64_t)p_new_decoded->name); \
(long long unsigned int)s_decoded.name, \
(long long unsigned int)p_new_decoded->name); \
i_err = 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