comparison 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
comparison
equal deleted inserted replaced
4648:30513a35c94d 4649:fab2e46a5b1a
1289 1289
1290 #define DEBUG_SEEK 1290 #define DEBUG_SEEK
1291 1291
1292 int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts, int flags){ 1292 int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts, int flags){
1293 AVInputFormat *avif= s->iformat; 1293 AVInputFormat *avif= s->iformat;
1294 int64_t pos_min, pos_max, pos, pos_limit; 1294 int64_t av_uninit(pos_min), av_uninit(pos_max), pos, pos_limit;
1295 int64_t ts_min, ts_max, ts; 1295 int64_t ts_min, ts_max, ts;
1296 int index; 1296 int index;
1297 AVStream *st; 1297 AVStream *st;
1298 1298
1299 if (stream_index < 0) 1299 if (stream_index < 0)