summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-09-06 21:25:35 +0000
committerMåns Rullgård <mans@mansr.com>2005-09-06 21:25:35 +0000
commit79396ac68573628f3b59142601db86a0f4ba7ad5 (patch)
tree4dfa0ec8e3e2e4ae1e1a5508ef8b311892ecf6ff /libavformat/mpegts.c
parentb40e353aa49737da9501b092d18011c79def8e30 (diff)
Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 0e15f551cf..e879da90b4 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -376,7 +376,7 @@ static void pmt_cb(void *opaque, const uint8_t *section, int section_len)
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, anc_page;
+ int comp_page = 0, anc_page = 0; /* initialize to kill warnings */
char language[4];
#ifdef DEBUG_SI