[FFmpeg-cvslog] r17826 - trunk/libavformat/utils.c

diego subversion
Thu Mar 5 20:15:14 CET 2009


Author: diego
Date: Thu Mar  5 20:15:14 2009
New Revision: 17826

Log:
Mark pos_min and pos_max variables as av_uninit to work around false
positive uninitialized variable warnings.

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Thu Mar  5 20:13:12 2009	(r17825)
+++ trunk/libavformat/utils.c	Thu Mar  5 20:15:14 2009	(r17826)
@@ -1291,7 +1291,7 @@ int av_index_search_timestamp(AVStream *
 
 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;




More information about the ffmpeg-cvslog mailing list