Skip to content
Browse files

Merge pull request #2358 from koying/fixbistreamconverter

FIX: BitstreamConverter: don't silently close the converter in case of conversion error
  • Loading branch information...
2 parents 6c06a32 + 39f47f5 commit bef3b9fe2842503840f580afc875455780c36e67 @elupus elupus committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 xbmc/utils/BitstreamConverter.cpp
View
3 xbmc/utils/BitstreamConverter.cpp
@@ -609,10 +609,9 @@ bool CBitstreamConverter::Convert(uint8_t *pData, int iSize)
}
else
{
- Close();
m_inputBuffer = pData;
m_inputSize = iSize;
- CLog::Log(LOGERROR, "CBitstreamConverter::Convert error converting. disable converter\n");
+ CLog::Log(LOGERROR, "CBitstreamConverter::Convert error converting.\n");
}
}
else

0 comments on commit bef3b9f

Please sign in to comment.
Something went wrong with that request. Please try again.