diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-03-05 19:15:14 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-03-05 19:15:14 +0000 |
commit | e658657528d5e2bc79a42e60c1f39c6b8609f007 (patch) | |
tree | c83f9774bc769235493e68f866f67629b4703566 /libavformat/utils.c | |
parent | 1aeb55a1de40ff8f663d2e49da7b160b62acd3a5 (diff) | |
download | ffmpeg-e658657528d5e2bc79a42e60c1f39c6b8609f007.tar.gz |
Mark pos_min and pos_max variables as av_uninit to work around false
positive uninitialized variable warnings.
Originally committed as revision 17826 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d8bd85c2a8..baf89c999c 100644 --- 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; |