Changeset 736


Ignore:
Timestamp:
02/04/12 03:35:42 (4 months ago)
Author:
shiretu
Message:

-- fixed a nasty bug in TS SPS/PPS parsing. The CPU went crazy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/thelib/src/protocols/ts/innettsstream.cpp

    r734 r736  
    453453        if (pBuffer == NULL || length <= 0) 
    454454                return true; 
    455         InitializeVideoCapabilities(pBuffer, length); 
    456455        if (_streamCapabilities.videoCodecId != CODEC_VIDEO_AVC) { 
    457                 return true; 
     456                InitializeVideoCapabilities(pBuffer, length); 
     457                if (_streamCapabilities.videoCodecId != CODEC_VIDEO_AVC) { 
     458                        return true; 
     459                } 
    458460        } 
    459461        return FeedData( 
Note: See TracChangeset for help on using the changeset viewer.