mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 03:09:51 +00:00
commit
60df9c13c4
@ -3775,7 +3775,7 @@ static int mxf_get_next_track_edit_unit(MXFContext *mxf, MXFTrack *track, int64_
|
||||
b = track->original_duration;
|
||||
|
||||
while (b - a > 1) {
|
||||
m = (a + b) >> 1;
|
||||
m = (a + (uint64_t)b) >> 1;
|
||||
if (mxf_edit_unit_absolute_offset(mxf, t, m, track->edit_rate, NULL, &offset, NULL, 0) < 0)
|
||||
return -1;
|
||||
if (offset < current_offset)
|
||||
|
Loading…
Reference in New Issue
Block a user