[FFmpeg-cvslog] r17825 - trunk/libavformat/mpeg.c

diego subversion
Thu Mar 5 20:13:13 CET 2009


Author: diego
Date: Thu Mar  5 20:13:12 2009
New Revision: 17825

Log:
Mark dvdaudio_substream_type variable as av_uninit to work around false
positive uninitialized variable warning.

Modified:
   trunk/libavformat/mpeg.c

Modified: trunk/libavformat/mpeg.c
==============================================================================
--- trunk/libavformat/mpeg.c	Thu Mar  5 08:36:16 2009	(r17824)
+++ trunk/libavformat/mpeg.c	Thu Mar  5 20:13:12 2009	(r17825)
@@ -413,7 +413,7 @@ static int mpegps_read_packet(AVFormatCo
     enum CodecID codec_id = CODEC_ID_NONE;
     enum CodecType type;
     int64_t pts, dts, dummy_pos; //dummy_pos is needed for the index building to work
-    uint8_t dvdaudio_substream_type;
+    uint8_t av_uninit(dvdaudio_substream_type);
 
  redo:
     len = mpegps_read_pes_header(s, &dummy_pos, &startcode, &pts, &dts);




More information about the ffmpeg-cvslog mailing list