[vlc-commits] [Git][videolan/vlc][master] rtp: fix error return

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Tue Dec 21 09:20:21 UTC 2021



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
c0ecf026 by Rémi Denis-Courmont at 2021-12-21T08:58:36+00:00
rtp: fix error return

- - - - -


1 changed file:

- modules/access/rtp/rtp.c


Changes:

=====================================
modules/access/rtp/rtp.c
=====================================
@@ -100,7 +100,7 @@ static struct vlc_rtp_es *vlc_rtp_es_request(struct vlc_rtp_pt *pt,
     ei->id = es_out_Add(demux->out, fmt);
     if (ei->id == NULL) {
         free(ei);
-        return NULL;
+        return vlc_rtp_es_dummy;
     }
     return &ei->es;
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c0ecf026b17071862771d4f2f366bd283b1f81bc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c0ecf026b17071862771d4f2f366bd283b1f81bc
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list