]> git.sesse.net Git - vlc/commitdiff
Cosmetic fix
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 7 Mar 2010 19:21:29 +0000 (21:21 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 7 Mar 2010 19:21:39 +0000 (21:21 +0200)
modules/access/rtmp/rtmp_amf_flv.c

index efad33fa76a288bc9c2952f83b300d0c95747210..b52269e8d895c7a7db462ae5b364bcaeef599cd0 100644 (file)
@@ -741,7 +741,7 @@ rtmp_build_bytes_read( rtmp_control_thread_t *p_thread, uint32_t reply )
     /* Build bytes read packet */
     rtmp_body = rtmp_body_new( -1 );
 
-    tmp_buffer = (uint8_t *) malloc( sizeof( uint32_t ) * sizeof( uint8_t ) );
+    tmp_buffer = (uint8_t *) malloc( sizeof( uint32_t ) );
     if( !tmp_buffer ) return NULL;
 
     reply = hton32( reply );