Loading media/libstagefright/codecs/opus/dec/SoftOpus.cpp +0 −11 Original line number Diff line number Diff line Loading @@ -350,11 +350,6 @@ void SoftOpus::onQueueFilled(OMX_U32 portIndex) { const uint8_t *data = header->pBuffer + header->nOffset; size_t size = header->nFilledLen; if ((header->nFlags & OMX_BUFFERFLAG_EOS) && size == 0) { header->nFlags &= ~OMX_BUFFERFLAG_CODECCONFIG; goto L_eos; } if (mInputBufferCount == 0) { CHECK(mHeader == NULL); mHeader = new OpusHeader(); Loading Loading @@ -413,11 +408,6 @@ void SoftOpus::onQueueFilled(OMX_U32 portIndex) { mOutputPortSettingsChange = AWAITING_DISABLED; } if (header->nFlags & OMX_BUFFERFLAG_EOS) { header->nFilledLen = 0; header->nFlags &= ~OMX_BUFFERFLAG_CODECCONFIG; goto L_eos; } inQueue.erase(inQueue.begin()); info->mOwnedByUs = false; notifyEmptyBufferDone(header); Loading @@ -425,7 +415,6 @@ void SoftOpus::onQueueFilled(OMX_U32 portIndex) { return; } L_eos: while (!inQueue.empty() && !outQueue.empty()) { BufferInfo *inInfo = *inQueue.begin(); OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; Loading media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp +0 −11 Original line number Diff line number Diff line Loading @@ -276,11 +276,6 @@ void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { const uint8_t *data = header->pBuffer + header->nOffset; size_t size = header->nFilledLen; if ((header->nFlags & OMX_BUFFERFLAG_EOS) && size == 0) { goto L_eos; } if (size < 7) { ALOGE("Too small input buffer: %zu bytes", size); android_errorWriteLog(0x534e4554, "27833616"); Loading Loading @@ -328,11 +323,6 @@ void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { } } if (header->nFlags & OMX_BUFFERFLAG_EOS) { header->nFilledLen = 0; goto L_eos; } inQueue.erase(inQueue.begin()); info->mOwnedByUs = false; notifyEmptyBufferDone(header); Loading @@ -342,7 +332,6 @@ void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { return; } L_eos: while ((!inQueue.empty() || (mSawInputEos && !mSignalledOutputEos)) && !outQueue.empty()) { BufferInfo *inInfo = NULL; OMX_BUFFERHEADERTYPE *inHeader = NULL; Loading Loading
media/libstagefright/codecs/opus/dec/SoftOpus.cpp +0 −11 Original line number Diff line number Diff line Loading @@ -350,11 +350,6 @@ void SoftOpus::onQueueFilled(OMX_U32 portIndex) { const uint8_t *data = header->pBuffer + header->nOffset; size_t size = header->nFilledLen; if ((header->nFlags & OMX_BUFFERFLAG_EOS) && size == 0) { header->nFlags &= ~OMX_BUFFERFLAG_CODECCONFIG; goto L_eos; } if (mInputBufferCount == 0) { CHECK(mHeader == NULL); mHeader = new OpusHeader(); Loading Loading @@ -413,11 +408,6 @@ void SoftOpus::onQueueFilled(OMX_U32 portIndex) { mOutputPortSettingsChange = AWAITING_DISABLED; } if (header->nFlags & OMX_BUFFERFLAG_EOS) { header->nFilledLen = 0; header->nFlags &= ~OMX_BUFFERFLAG_CODECCONFIG; goto L_eos; } inQueue.erase(inQueue.begin()); info->mOwnedByUs = false; notifyEmptyBufferDone(header); Loading @@ -425,7 +415,6 @@ void SoftOpus::onQueueFilled(OMX_U32 portIndex) { return; } L_eos: while (!inQueue.empty() && !outQueue.empty()) { BufferInfo *inInfo = *inQueue.begin(); OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; Loading
media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp +0 −11 Original line number Diff line number Diff line Loading @@ -276,11 +276,6 @@ void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { const uint8_t *data = header->pBuffer + header->nOffset; size_t size = header->nFilledLen; if ((header->nFlags & OMX_BUFFERFLAG_EOS) && size == 0) { goto L_eos; } if (size < 7) { ALOGE("Too small input buffer: %zu bytes", size); android_errorWriteLog(0x534e4554, "27833616"); Loading Loading @@ -328,11 +323,6 @@ void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { } } if (header->nFlags & OMX_BUFFERFLAG_EOS) { header->nFilledLen = 0; goto L_eos; } inQueue.erase(inQueue.begin()); info->mOwnedByUs = false; notifyEmptyBufferDone(header); Loading @@ -342,7 +332,6 @@ void SoftVorbis::onQueueFilled(OMX_U32 portIndex) { return; } L_eos: while ((!inQueue.empty() || (mSawInputEos && !mSignalledOutputEos)) && !outQueue.empty()) { BufferInfo *inInfo = NULL; OMX_BUFFERHEADERTYPE *inHeader = NULL; Loading