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
b36196ed
Commit
b36196ed
authored
Apr 11, 2014
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/decode_mpeg.c: cleanup
parent
ed7859d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
examples/decode_mpeg.c
examples/decode_mpeg.c
+6
-3
No files found.
examples/decode_mpeg.c
View file @
b36196ed
...
...
@@ -573,8 +573,8 @@ int main(int i_argc, char* pa_argv[])
int
next_option
=
0
;
int
i_fd
=
-
1
;
int
i_mtu
=
1316
;
/* (7 * 188) = 1316 < 1500 network MTU */
#ifdef HAVE_SYS_SOCKET_H
int
i_mtu
=
1316
;
/* (7 * 188) = 1316 < 1500 network MTU */
int
i_report
=
REPORT_UDP
;
/* REPORT_PCR REPORT_UDP */
int
i_port
=
0
;
char
*
ipaddress
=
NULL
;
...
...
@@ -636,12 +636,15 @@ int main(int i_argc, char* pa_argv[])
}
}
while
(
next_option
!=
-
1
);
#ifdef HAVE_SYS_SOCKET_H
if
(
b_verbose
)
{
#ifdef HAVE_SYS_SOCKET_H
fprintf
(
stderr
,
"set mtu to %d
\n
"
,
i_mtu
);
}
#else
fprintf
(
stderr
,
"using file: %s"
,
filename
);
#endif
}
/* initialize */
if
(
filename
)
{
...
...
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