]> git.sesse.net Git - vlc/blobdiff - modules/access/mms/mmstu.c
Qt4 - add a warning about the composite thing.
[vlc] / modules / access / mms / mmstu.c
index 7e441cae73e26e5ecb7687b4cb86a60e163e50e0..9b38ea4799e961f76e386a3c7a942fa28862d97e 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>
 #include <vlc/vlc.h>
 #include <vlc_access.h>
 
-#include <string.h>
 #include <errno.h>
 
 #ifdef HAVE_UNISTD_H
@@ -1218,14 +1216,15 @@ static int  mms_ParsePacket( access_t *p_access,
 
     if( i_packet_seq_num != p_sys->i_packet_seq_num )
     {
+#if 0
         /* FIXME for udp could be just wrong order ? */
         msg_Warn( p_access,
                   "detected packet lost (%d != %d)",
                   i_packet_seq_num,
                   p_sys->i_packet_seq_num );
-        p_sys->i_packet_seq_num = i_packet_seq_num;
+#endif
     }
-    p_sys->i_packet_seq_num++;
+    p_sys->i_packet_seq_num = i_packet_seq_num + 1;
 
     if( i_packet_id == p_sys->i_header_packet_id_type )
     {