Skip to content
This repository
Browse code

Merge pull request #2358 from koying/fixbistreamconverter

FIX: BitstreamConverter: don't silently close the converter in case of conversion error
  • Loading branch information...
commit bef3b9fe2842503840f580afc875455780c36e67 2 parents 6c06a32 + 39f47f5
Joakim Plate authored March 03, 2013

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  xbmc/utils/BitstreamConverter.cpp
3  xbmc/utils/BitstreamConverter.cpp
@@ -609,10 +609,9 @@ bool CBitstreamConverter::Convert(uint8_t *pData, int iSize)
609 609
           }
610 610
           else
611 611
           {
612  
-            Close();
613 612
             m_inputBuffer = pData;
614 613
             m_inputSize   = iSize;
615  
-            CLog::Log(LOGERROR, "CBitstreamConverter::Convert error converting. disable converter\n");
  614
+            CLog::Log(LOGERROR, "CBitstreamConverter::Convert error converting.\n");
616 615
           }
617 616
         }
618 617
         else

0 notes on commit bef3b9f

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