changeset 4983:4b6537814493 libavformat

remove no longer needed init
author bcoudurier
date Sun, 31 May 2009 03:44:03 +0000
parents dc217282e78b
children 5bd0b3955904
files mpegts.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mpegts.c	Sun May 31 03:40:36 2009 +0000
+++ b/mpegts.c	Sun May 31 03:44:03 2009 +0000
@@ -577,10 +577,10 @@
     const uint8_t *p, *p_end, *desc_list_end, *desc_end;
     int program_info_length, pcr_pid, pid, stream_type;
     int desc_list_len, desc_len, desc_tag;
-    int comp_page = 0, anc_page = 0; /* initialize to kill warnings */
-    char language[4] = {0}; /* initialize to kill warnings */
+    int comp_page, anc_page;
+    char language[4];
     uint32_t prog_reg_desc = 0; /* registration descriptor */
-    uint32_t reg_desc = 0; /* registration descriptor */
+    uint32_t reg_desc; /* registration descriptor */
 
 #ifdef DEBUG
     dprintf(ts->stream, "PMT: len %i\n", section_len);