diff options
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp')
-rwxr-xr-x | libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp b/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp index 1ac741c..e699fbe 100755 --- a/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp +++ b/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp @@ -55,6 +55,10 @@ VideoEditorAudioPlayer::~VideoEditorAudioPlayer() { if (mStarted) { reset(); } + if (mAudioProcess != NULL) { + delete mAudioProcess; + mAudioProcess = NULL; + } } status_t VideoEditorAudioPlayer::start(bool sourceAlreadyStarted) { |