Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ea8149a authored by Lajos Molnar's avatar Lajos Molnar Committed by Gerrit Code Review
Browse files

Merge "VT: Skip unknown payload type packet"

parents d6556012 9a021f7f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -597,6 +597,11 @@ status_t ARTPConnection::parseRTP(StreamInfo *s, const sp<ABuffer> &buffer) {
        return -1;
    }

    if ((data[1] & 0x7f) == 20) {
        // Unassigned payload type
        return -1;
    }

    if (data[0] & 0x20) {
        // Padding present.