]> git.sesse.net Git - vlc/commitdiff
Fix compiler warnings.
authorJean-Paul Saman <jpsaman@videolan.org>
Sat, 10 May 2008 18:00:44 +0000 (20:00 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 10 May 2008 18:01:11 +0000 (20:01 +0200)
modules/access/rtmp/access.c

index 7482b8642dc8daeea642f5f9b4a7c97e179d188a..12d92d273fbdc03b3e98ebbcdd39b0d4688d3e5a 100644 (file)
@@ -307,7 +307,7 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
     rtmp_packet_t *rtmp_packet;
     uint8_t *tmp_buffer;
     ssize_t i_ret;
-    int i_len_tmp;
+    size_t i_len_tmp;
 
     i_len_tmp = 0;
 
@@ -368,7 +368,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
             i_len_tmp += i_len - i_len_tmp;
         }
     }
-    if( i_len_tmp > 0 ) {
+    if( i_len_tmp > 0 )
+    {
         if( p_sys->p_thread->result_publish )
         {
             /* Send publish onStatus event only once */
@@ -424,6 +425,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
  *****************************************************************************/
 static int Seek( access_t *p_access, int64_t i_pos )
 {
+    VLC_UNUSED( p_access );
+    VLC_UNUSED( i_pos );
 /*msg_Warn ( p_access, "Seek to %lld", i_pos);
     switch( rtmp_seek( p_access, i_pos ) )
     {