Mercurial > libavformat.hg
changeset 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 | 30513a35c94d |
children | 5090afc3cd19 |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;