]> git.sesse.net Git - vlc/blobdiff - modules/access/rtp/input.c
RTP: set audio channels directly rather than channels count
[vlc] / modules / access / rtp / input.c
index 1641c1af4bdf9fd019239a8c78120ae2199f6975..230014301181ea0b49ad49f3b8192373eb645cc0 100644 (file)
@@ -69,8 +69,7 @@ static void rtp_process (demux_t *demux, block_t *block)
     /* TODO: use SDP and get rid of this hack */
     if (unlikely(sys->autodetect))
     {   /* Autodetect payload type, _before_ rtp_queue() */
-        if (rtp_autodetect (demux, sys->session, block))
-            goto drop;
+        rtp_autodetect (demux, sys->session, block);
         sys->autodetect = false;
     }