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:
1aeb55a
)
Mark pos_min and pos_max variables as av_uninit to work around false
author
Diego Biurrun
<diego@biurrun.de>
Thu, 5 Mar 2009 19:15:14 +0000
(19:15 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 5 Mar 2009 19:15:14 +0000
(19:15 +0000)
positive uninitialized variable warnings.
Originally committed as revision 17826 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index d8bd85c2a854848b80290cf33b756ed46eb436e8..baf89c999c2cea6cd0fe6a3de9d2dab0917b4dd0 100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-1291,7
+1291,7
@@
int av_index_search_timestamp(AVStream *st, int64_t wanted_timestamp,
int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts, int flags){
AVInputFormat *avif= s->iformat;
- int64_t
pos_min, pos_max
, pos, pos_limit;
+ int64_t
av_uninit(pos_min), av_uninit(pos_max)
, pos, pos_limit;
int64_t ts_min, ts_max, ts;
int index;
AVStream *st;