CSD is always on the input port, so it does not matter which port
a buffer was last queued to.
Bug:
17216852
Change-Id: I6d00eb4bf3c2e9b9cc3c9918229de958bc465693
}
-void SoftAAC2::onQueueFilled(OMX_U32 portIndex) {
+void SoftAAC2::onQueueFilled(OMX_U32 /* portIndex */) {
if (mSignalledError || mOutputPortSettingsChange != NONE) {
return;
}
OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader;
mEndOfInput = (inHeader->nFlags & OMX_BUFFERFLAG_EOS) != 0;
- if (portIndex == 0 &&
- (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) != 0) {
+ if ((inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) != 0) {
BufferInfo *inInfo = *inQueue.begin();
OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader;