[vlc-commits] rtp: avoid shadowing

Rémi Denis-Courmont git at videolan.org
Sun Jul 23 16:53:02 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 16:33:30 2017 +0300| [a3c743e778ea8a7d55ee72b093ff68d1cfe9d1f7] | committer: Rémi Denis-Courmont

rtp: avoid shadowing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3c743e778ea8a7d55ee72b093ff68d1cfe9d1f7
---

 modules/access/rtp/session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/rtp/session.c b/modules/access/rtp/session.c
index f514b63aab..0c26d34675 100644
--- a/modules/access/rtp/session.c
+++ b/modules/access/rtp/session.c
@@ -355,7 +355,7 @@ rtp_queue (demux_t *demux, rtp_session_t *session, block_t *block)
     block_t **pp = &src->blocks;
     for (block_t *prev = *pp; prev != NULL; prev = *pp)
     {
-        int16_t delta_seq = seq - rtp_seq (prev);
+        delta_seq = seq - rtp_seq (prev);
         if (delta_seq < 0)
             break;
         if (delta_seq == 0)



More information about the vlc-commits mailing list