# HG changeset patch # User benoit # Date 1180426777 0 # Node ID 8c239da52650c436c54d6339bc667b6c56548302 # Parent 33a90cc1a5de1289dcdb8184866749d60cfa4877 variable initialization (because of a gcc warning) patch by Glenn A. Serre gaserre spiresoftware com diff -r 33a90cc1a5de -r 8c239da52650 mpegts.c --- 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);