libavformat/utils.c:1179: error: Uninitialized Value
  The value read from pos_max was never initialized.

libavformat/utils.c:1179:10: 
1177.     }
1178. 
1179.     pos= av_gen_search(s, stream_index, target_ts, pos_min, pos_max, pos_limit, ts_min, ts_max, flags, &ts, avif->read_timestamp);
               ^
1180.     if(pos<0)
1181.         return -1;
