]> git.sesse.net Git - vlc/blobdiff - modules/access/rtsp/real.h
Fix a race on b_first_frame.
[vlc] / modules / access / rtsp / real.h
index 71558f4d974613b8169a7f896d4caf1a36642310..51392e5ff6a27507e62a1e730fae97d2e963804d 100644 (file)
@@ -33,7 +33,7 @@
 #include <string.h>
 #include <inttypes.h>
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include "rtsp.h"
 #include "real_rmff.h"
 #include "real_sdpplin.h"
 #ifdef REALDEBUG
 #   define lprintf printf
 #else
-    static inline void lprintf( const char *dummy, ... ){}
+    static inline void lprintf( const char *dummy, ... ) { (void)dummy; }
 #endif
 
 int real_get_rdt_chunk_header(rtsp_client_t *, rmff_pheader_t *);
 int real_get_rdt_chunk(rtsp_client_t *, rmff_pheader_t *, unsigned char **);
 rmff_header_t *real_setup_and_get_header(rtsp_client_t *, int bandwidth);
 
-int asmrp_match(const char *rules, int bandwidth, int *matches) ;
+int asmrp_match(const char *rules, int bandwidth, int *matches, int matchsize) ;
 
 #endif