Commit 828bb5f1 authored by Glenn A. Serre's avatar Glenn A. Serre Committed by Benoit Fouet

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
parent 4d7b302c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment