Ignore:
Timestamp:
08/19/10 17:17:19 (21 months ago)
Author:
shiretu
Message:

-- minor stuff for android apple streaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/applications/applestreamingclient/src/playlist.cpp

    r56 r81  
    113113                                        if (strstr(pLine, "#EXT-X-KEY:") == pLine) { 
    114114                                                //10. We have it 
    115                                                 //printf("pLine: %s; ", pLine); 
    116                                                 _pLastKeyUri = strstr(pLine, "URI=\"") + 5; 
    117                                                 strstr(_pLastKeyUri, "\"")[0] = 0; 
     115                                                //printf("\n\n\npLine: %s; \n", pLine); 
     116                                                _pLastKeyUri = strstr(pLine, "URI=\""); 
     117                                                if (_pLastKeyUri != NULL) { 
     118                                                        _pLastKeyUri += 5; 
     119                                                        strstr(_pLastKeyUri, "\"")[0] = 0; 
     120                                                } 
    118121                                                //printf("_pKeyUri: %s\n", _pKeyUri); 
    119122                                        } 
Note: See TracChangeset for help on using the changeset viewer.