Skip to content

Commit

Permalink
[editor] Reset _currentSegment on cleanup, otherwise we may crash loa…
Browse files Browse the repository at this point in the history
…ding next video if seek to the first frame fails
  • Loading branch information
eumagga0x2a committed Jan 11, 2018
1 parent 37a42e4 commit 60dda2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avidemux/common/ADM_editor/src/ADM_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ uint8_t ADM_Composer::cleanup (void)

_segments.deleteAll();
_currentPts = 0;
_currentSegment = 0;
markerAPts = 0;
markerBPts = 0;
audioTrackPool.clear();
Expand Down

0 comments on commit 60dda2a

Please sign in to comment.