summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp')
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorAudioPlayer.cpp4
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) {