diff options
author | Diego Biurrun | 2009-03-05 19:13:12 +0000 |
---|---|---|
committer | Diego Biurrun | 2009-03-05 19:13:12 +0000 |
commit | 1aeb55a1de40ff8f663d2e49da7b160b62acd3a5 (patch) | |
tree | 0f9d1e82f29d96d7633279e961bae257266a5418 /libavformat/mpeg.c | |
parent | 61c23c155cf0709df69222a1f3e49bfa263a70e1 (diff) |
Mark dvdaudio_substream_type variable as av_uninit to work around false
positive uninitialized variable warning.
Originally committed as revision 17825 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r-- | libavformat/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index a186cfb02e..b0f45e5343 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -413,7 +413,7 @@ static int mpegps_read_packet(AVFormatContext *s, 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); |