Permalink
Browse files

[editor] Reset _currentSegment on cleanup, otherwise we may crash loa…

…ding next video if seek to the first frame fails
  • Loading branch information...
eumagga0x2a committed Jan 11, 2018
1 parent 37a42e4 commit 60dda2a1adaf507f3151d77aef1476987dd55225
Showing with 1 addition and 0 deletions.
  1. +1 −0 avidemux/common/ADM_editor/src/ADM_edit.cpp
@@ -521,6 +521,7 @@ uint8_t ADM_Composer::cleanup (void)
_segments.deleteAll();
_currentPts = 0;
_currentSegment = 0;
markerAPts = 0;
markerBPts = 0;
audioTrackPool.clear();

0 comments on commit 60dda2a

Please sign in to comment.