diff options
author | Glenn A. Serre <gaserre@spiresoftware.com> | 2007-05-29 08:19:37 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-05-29 08:19:37 +0000 |
commit | 828bb5f1f6cd51f8fb7c9516c25176789ae1a500 (patch) | |
tree | f294f56adef904212819872687bb4ce859562ca6 /libavformat/mpegts.c | |
parent | 4d7b302c0d4f0e34ac5fb6da3e4c87ecbeb727ef (diff) | |
download | ffmpeg-828bb5f1f6cd51f8fb7c9516c25176789ae1a500.tar.gz |
variable initialization (because of a gcc warning)
patch by Glenn A. Serre gaserre spiresoftware com
Originally committed as revision 9146 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 35da0f036d..df75189679 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -397,7 +397,7 @@ static void pmt_cb(void *opaque, const uint8_t *section, int section_len) 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); |