[vlc-commits] commit: Cosmetic fix ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sun Mar 7 20:27:41 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  7 21:21:29 2010 +0200| [0854aab55b38c87155701e0616b3d3aa57409bec] | committer: Rémi Denis-Courmont 

Cosmetic fix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0854aab55b38c87155701e0616b3d3aa57409bec
---

 modules/access/rtmp/rtmp_amf_flv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/rtmp/rtmp_amf_flv.c b/modules/access/rtmp/rtmp_amf_flv.c
index efad33f..b52269e 100644
--- a/modules/access/rtmp/rtmp_amf_flv.c
+++ b/modules/access/rtmp/rtmp_amf_flv.c
@@ -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 );



More information about the vlc-commits mailing list