mirror of https://git.ffmpeg.org/ffmpeg.git
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
This commit is contained in:
parent
1aeb55a1de
commit
e658657528
|
@ -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){
|
int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts, int flags){
|
||||||
AVInputFormat *avif= s->iformat;
|
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;
|
int64_t ts_min, ts_max, ts;
|
||||||
int index;
|
int index;
|
||||||
AVStream *st;
|
AVStream *st;
|
||||||
|
|
Loading…
Reference in New Issue