From 0854aab55b38c87155701e0616b3d3aa57409bec Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 7 Mar 2010 21:21:29 +0200 Subject: [PATCH 1/1] Cosmetic fix --- modules/access/rtmp/rtmp_amf_flv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/rtmp/rtmp_amf_flv.c b/modules/access/rtmp/rtmp_amf_flv.c index efad33fa76..b52269e8d8 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 ); -- 2.39.2