#include "audio_coding_module.h"
#include "engine_configurations.h"
-#include "gtest/gtest.h" // TODO (tlegrand): Consider removing usage of gtest.
#include "rw_lock_wrapper.h"
+// TODO(tlegrand): Consider removing usage of gtest.
+#include "testing/gtest/include/gtest/gtest.h"
namespace webrtc {
if (plen == 0) {
return 0;
}
- if (payloadSize < (lengthBytes - 20)) {
+ if (lengthBytes < 20) {
return 0;
}
- if (lengthBytes < 20) {
+ if (payloadSize < (lengthBytes - 20)) {
return 0;
}
lengthBytes -= 20;