Loading media/libstagefright/rtsp/ASessionDescription.cpp +7 −5 Original line number Diff line number Diff line Loading @@ -214,13 +214,15 @@ void ASessionDescription::getFormatType( char key[32]; snprintf(key, sizeof(key), "a=rtpmap:%lu", x); CHECK(findAttribute(index, key, desc)); if (findAttribute(index, key, desc)) { snprintf(key, sizeof(key), "a=fmtp:%lu", x); if (!findAttribute(index, key, params)) { params->clear(); } } else { desc->clear(); params->clear(); } } bool ASessionDescription::getDimensions( Loading Loading
media/libstagefright/rtsp/ASessionDescription.cpp +7 −5 Original line number Diff line number Diff line Loading @@ -214,13 +214,15 @@ void ASessionDescription::getFormatType( char key[32]; snprintf(key, sizeof(key), "a=rtpmap:%lu", x); CHECK(findAttribute(index, key, desc)); if (findAttribute(index, key, desc)) { snprintf(key, sizeof(key), "a=fmtp:%lu", x); if (!findAttribute(index, key, params)) { params->clear(); } } else { desc->clear(); params->clear(); } } bool ASessionDescription::getDimensions( Loading