Browse Source

Fix typo in `isValid` function

Filip Klembara 4 years ago
parent
commit
938bd4dd43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/rtc/rtp.hpp

+ 1 - 1
include/rtc/rtp.hpp

@@ -427,7 +427,7 @@ public:
                 }
                 }
                 auto chunk = getChunk(i);
                 auto chunk = getChunk(i);
                 auto chunkSize = chunk->safelyCountChunkSize(chunksSize - size);
                 auto chunkSize = chunk->safelyCountChunkSize(chunksSize - size);
-                if (chunksSize < 0) {
+                if (chunkSize < 0) {
                     // chunk is invalid
                     // chunk is invalid
                     return false;
                     return false;
                 }
                 }