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
ed7859d0
Commit
ed7859d0
authored
Apr 11, 2014
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/dump_pids.c, check_cc_pid.c: Fix for building on windows.
parent
32087067
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
examples/check_cc_pid.c
examples/check_cc_pid.c
+4
-0
examples/dump_pids.c
examples/dump_pids.c
+4
-0
No files found.
examples/check_cc_pid.c
View file @
ed7859d0
...
@@ -16,6 +16,10 @@
...
@@ -16,6 +16,10 @@
#include <assert.h>
#include <assert.h>
#ifdef WIN32
# define O_NONBLOCK (0)
/* O_NONBLOCK does not exist for Windows */
#endif
static
inline
uint32_t
ts_getcc
(
uint8_t
*
packet
)
static
inline
uint32_t
ts_getcc
(
uint8_t
*
packet
)
{
{
return
(
packet
[
3
]
&
0x0f
);
return
(
packet
[
3
]
&
0x0f
);
...
...
examples/dump_pids.c
View file @
ed7859d0
...
@@ -16,6 +16,10 @@
...
@@ -16,6 +16,10 @@
#include <assert.h>
#include <assert.h>
#ifdef WIN32
# define O_NONBLOCK (0)
/* O_NONBLOCK does not exist for Windows */
#endif
static
inline
uint32_t
ts_getcc
(
uint8_t
*
packet
)
static
inline
uint32_t
ts_getcc
(
uint8_t
*
packet
)
{
{
return
(
packet
[
3
]
&
0x0f
);
return
(
packet
[
3
]
&
0x0f
);
...
...
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