[FFmpeg-cvslog] r9146 - trunk/libavformat/mpegts.c

benoit subversion
Tue May 29 10:19:37 CEST 2007


Author: benoit
Date: Tue May 29 10:19:37 2007
New Revision: 9146

Log:

variable initialization (because of a gcc warning)
patch by Glenn A. Serre gaserre spiresoftware com



Modified:
   trunk/libavformat/mpegts.c

Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c	(original)
+++ trunk/libavformat/mpegts.c	Tue May 29 10:19:37 2007
@@ -397,7 +397,7 @@ static void pmt_cb(void *opaque, const u
     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);




More information about the ffmpeg-cvslog mailing list