changeset 4648:30513a35c94d libavformat

Mark dvdaudio_substream_type variable as av_uninit to work around false positive uninitialized variable warning.
author diego
date Thu, 05 Mar 2009 19:13:12 +0000
parents a9c659873a1e
children fab2e46a5b1a
files mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg.c	Thu Mar 05 07:36:16 2009 +0000
+++ b/mpeg.c	Thu Mar 05 19:13:12 2009 +0000
@@ -413,7 +413,7 @@
     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);