From 29886ae555bd41cfd37b94a0abe2b577a114f8d7 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 9 Sep 2025 07:40:25 -0400 Subject: [PATCH] MT#55283 fix old gcc error p2 Change-Id: I8b4c82c4fd0b03b8339c8f0d014d9d2f095b2bf8 --- daemon/media_socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/media_socket.c b/daemon/media_socket.c index bf0023efe..3c2eb8185 100644 --- a/daemon/media_socket.c +++ b/daemon/media_socket.c @@ -2127,7 +2127,7 @@ static size_t rtpext_printer_extmap_print(struct rtp_header *rh, void *dst, cons dst += 4; // fixed size header void *first = dst; - for (__auto_type l = mp->extmap.head; l; l = l->next) { + for (auto_iter(l, mp->extmap.head); l; l = l->next) { __auto_type ext = l->data; if (!extmap_has_ext(mp, ext)) @@ -2216,7 +2216,7 @@ size_t extmap_length_short(const struct media_packet *mp) { const extmap_data_q *q = &mp->extmap; size_t ret = 4; // 0xbede + int16 length - for (__auto_type l = q->head; l; l = l->next) { + for (auto_iter(l, q->head); l; l = l->next) { __auto_type ext = l->data; if (!extmap_has_ext(mp, ext)) @@ -2278,7 +2278,7 @@ size_t extmap_length_long(const struct media_packet *mp) { const extmap_data_q *q = &mp->extmap; size_t ret = 4; // 0x0100 + int16 length - for (__auto_type l = q->head; l; l = l->next) { + for (auto_iter(l, q->head); l; l = l->next) { __auto_type ext = l->data; if (!extmap_has_ext(mp, ext))