From 5d5aed9d4e28fc2166617e54a219506fe0892e8b Mon Sep 17 00:00:00 2001 From: Santosh Madhava Date: Thu, 10 Feb 2011 20:46:53 -0800 Subject: [PATCH] Fix for issue 3444969 : Crash while generating transition Change-Id: I63286dc66bfcd496aee45d26c8934f519ce63429 --- libvideoeditor/vss/src/VideoEditorResampler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvideoeditor/vss/src/VideoEditorResampler.cpp b/libvideoeditor/vss/src/VideoEditorResampler.cpp index 47c9579aae..81709df6cf 100755 --- a/libvideoeditor/vss/src/VideoEditorResampler.cpp +++ b/libvideoeditor/vss/src/VideoEditorResampler.cpp @@ -68,6 +68,7 @@ void VideoEditorResampler::releaseBuffer(AudioBufferProvider::Buffer *pBuffer) { if(pBuffer->raw != NULL) { free(pBuffer->raw); pBuffer->raw = NULL; + mTmpInBuffer = NULL; } pBuffer->frameCount = 0; } @@ -88,6 +89,7 @@ M4OSA_Int32 LVAudioResamplerCreate(M4OSA_Int32 bitDepth, M4OSA_Int32 inChannelCo context->nbChannels = inChannelCount; context->outSamplingRate = sampleRate; context->mInput = NULL; + context->mTmpInBuffer = NULL; return ((M4OSA_Int32)context); } -- 2.11.0