Mercurial > libavformat.hg
diff mpegts.c @ 2101:8c239da52650 libavformat
variable initialization (because of a gcc warning)
patch by Glenn A. Serre gaserre spiresoftware com
| author | benoit |
|---|---|
| date | Tue, 29 May 2007 08:19:37 +0000 |
| parents | a3e79d6e4e3c |
| children | 31619b03d1ce |
line wrap: on
line diff
--- a/mpegts.c Sun May 27 08:06:45 2007 +0000 +++ b/mpegts.c Tue May 29 08:19:37 2007 +0000 @@ -397,7 +397,7 @@ 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]; + char language[4] = {0}; /* initialize to kill warnings */ #ifdef DEBUG_SI av_log(ts->stream, AV_LOG_DEBUG, "PMT: len %i\n", section_len);
