Commit 28269759 authored by diego's avatar diego

Mark dvdaudio_substream_type variable as av_uninit to work around false

positive uninitialized variable warning.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17825 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 00c09c73
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment