Loading media/libmedia/MediaScannerClient.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -82,7 +82,7 @@ status_t MediaScannerClient::addStringTag(const char* name, const char* value) // save the strings for later so they can be used for native encoding detection // save the strings for later so they can be used for native encoding detection mNames->push_back(name); mNames->push_back(name); mValues->push_back(value); mValues->push_back(value); return true; return OK; } } // else fall through // else fall through } } Loading media/libstagefright/StagefrightMediaScanner.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -94,7 +94,7 @@ static MediaScanResult HandleMIDI( char buffer[20]; char buffer[20]; sprintf(buffer, "%ld", temp); sprintf(buffer, "%ld", temp); status_t status = client->addStringTag("duration", buffer); status_t status = client->addStringTag("duration", buffer); if (status) { if (status != OK) { return MEDIA_SCAN_RESULT_ERROR; return MEDIA_SCAN_RESULT_ERROR; } } return MEDIA_SCAN_RESULT_OK; return MEDIA_SCAN_RESULT_OK; Loading Loading @@ -178,7 +178,7 @@ MediaScanResult StagefrightMediaScanner::processFileInternal( const char *value; const char *value; if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) { if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) { status = client.addStringTag(kKeyMap[i].tag, value); status = client.addStringTag(kKeyMap[i].tag, value); if (status) { if (status != OK) { return MEDIA_SCAN_RESULT_ERROR; return MEDIA_SCAN_RESULT_ERROR; } } } } Loading Loading
media/libmedia/MediaScannerClient.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -82,7 +82,7 @@ status_t MediaScannerClient::addStringTag(const char* name, const char* value) // save the strings for later so they can be used for native encoding detection // save the strings for later so they can be used for native encoding detection mNames->push_back(name); mNames->push_back(name); mValues->push_back(value); mValues->push_back(value); return true; return OK; } } // else fall through // else fall through } } Loading
media/libstagefright/StagefrightMediaScanner.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -94,7 +94,7 @@ static MediaScanResult HandleMIDI( char buffer[20]; char buffer[20]; sprintf(buffer, "%ld", temp); sprintf(buffer, "%ld", temp); status_t status = client->addStringTag("duration", buffer); status_t status = client->addStringTag("duration", buffer); if (status) { if (status != OK) { return MEDIA_SCAN_RESULT_ERROR; return MEDIA_SCAN_RESULT_ERROR; } } return MEDIA_SCAN_RESULT_OK; return MEDIA_SCAN_RESULT_OK; Loading Loading @@ -178,7 +178,7 @@ MediaScanResult StagefrightMediaScanner::processFileInternal( const char *value; const char *value; if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) { if ((value = mRetriever->extractMetadata(kKeyMap[i].key)) != NULL) { status = client.addStringTag(kKeyMap[i].tag, value); status = client.addStringTag(kKeyMap[i].tag, value); if (status) { if (status != OK) { return MEDIA_SCAN_RESULT_ERROR; return MEDIA_SCAN_RESULT_ERROR; } } } } Loading