summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c6
-rw-r--r--tools/udp_pes_scheduler.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/config.c b/config.c
index aed097f5..2410ee07 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c,v 1.89 2010-03-12 23:00:26 phintuka Exp $
+ * $Id: config.c,v 1.90 2010-05-21 12:44:22 phintuka Exp $
*
*/
@@ -696,8 +696,8 @@ bool config_t::ProcessArgs(int argc, char *argv[])
{ "post", required_argument, NULL, 'P' },
{ "config", required_argument, NULL, 'C' },
{ "primary", no_argument, NULL, 'p' },
- { "exit-on-close",no_argument, NULL, 'c' },
- { NULL }
+ { "exit-on-close",no_argument, NULL, 'c' },
+ { NULL, no_argument, NULL, 0 }
};
int c;
diff --git a/tools/udp_pes_scheduler.c b/tools/udp_pes_scheduler.c
index 6ccf55a3..cf465354 100644
--- a/tools/udp_pes_scheduler.c
+++ b/tools/udp_pes_scheduler.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: udp_pes_scheduler.c,v 1.53 2010-03-14 11:50:50 phintuka Exp $
+ * $Id: udp_pes_scheduler.c,v 1.54 2010-05-21 12:47:59 phintuka Exp $
*
*/
@@ -868,7 +868,7 @@ void cUdpScheduler::ReSend(int fd, uint64_t Pos, int Seq1, int Seq2)
struct {
stream_udp_header_t hdr;
char payload[64-sizeof(stream_udp_header_t)];
- } udp_ctrl = {{(uint64_t)INT64_C(-1), (uint16_t)-1}, {0}};
+ } udp_ctrl = {{(uint64_t)INT64_C(-1), (uint16_t)-1, 0, {}}, {0}};
// Handle buffer wrap
if(Seq1 > Seq2)