diff utils.c @ 4649:fab2e46a5b1a libavformat

Mark pos_min and pos_max variables as av_uninit to work around false positive uninitialized variable warnings.
author diego
date Thu, 05 Mar 2009 19:15:14 +0000
parents a9c659873a1e
children 755858ca9f6a
line wrap: on
line diff
--- a/utils.c	Thu Mar 05 19:13:12 2009 +0000
+++ b/utils.c	Thu Mar 05 19:15:14 2009 +0000
@@ -1291,7 +1291,7 @@
 
 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;