projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c23c1
)
Mark dvdaudio_substream_type variable as av_uninit to work around false
author
Diego Biurrun
<diego@biurrun.de>
Thu, 5 Mar 2009 19:13:12 +0000
(19:13 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 5 Mar 2009 19:13:12 +0000
(19:13 +0000)
positive uninitialized variable warning.
Originally committed as revision 17825 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpeg.c
patch
|
blob
|
history
diff --git
a/libavformat/mpeg.c
b/libavformat/mpeg.c
index
a186cfb
..
b0f45e5
100644
(file)
--- 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);