From 1dfcdf7e0f20c64dc1e3c1246fd90a4e1b83e085 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Sat, 1 Oct 2022 07:55:08 -0400 Subject: [PATCH] MT#55283 typo fix for I6aecff636efd420401856bb8110b3d784f989179 Change-Id: I3f73b9d3482f018d8ae9748d59a161b8067cc294 (cherry picked from commit dc395d57522f6bf4d719505857cbdbf77bab9249) --- lib/rtplib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rtplib.c b/lib/rtplib.c index e592170bd..5e1b5629e 100644 --- a/lib/rtplib.c +++ b/lib/rtplib.c @@ -107,7 +107,7 @@ error: int rtp_padding(struct rtp_header *header, str *payload) { - if (!header || payload->s) + if (!header || !payload->s) return 0; if (!(header->v_p_x_cc & 0x20)) return 0; // no padding