summaryrefslogtreecommitdiff
path: root/src/input/libreal/real.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-04-30 01:12:20 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-04-30 01:12:20 +0100
commitbdcbdde85d5ae6e8f415442d5c28251a4aad8088 (patch)
treeb7fb5832b71a7178294c0e3874dfc07536f978aa /src/input/libreal/real.c
parentce9af0fefb2cd0dd5fe5743dcca12f17eedd1ce5 (diff)
downloadxine-lib-bdcbdde85d5ae6e8f415442d5c28251a4aad8088.tar.gz
xine-lib-bdcbdde85d5ae6e8f415442d5c28251a4aad8088.tar.bz2
Replace calloc (n, sizeof (char)) with malloc (n) where zero init isn't needed.
Diffstat (limited to 'src/input/libreal/real.c')
-rw-r--r--src/input/libreal/real.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/libreal/real.c b/src/input/libreal/real.c
index 472120895..fecf9a794 100644
--- a/src/input/libreal/real.c
+++ b/src/input/libreal/real.c
@@ -660,7 +660,7 @@ rmff_header_t *real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwid
lprintf("Stream description size: %i\n", size);
- description = calloc(size+1, sizeof(char));
+ description = malloc(size+1);
if( rtsp_read_data(rtsp_session, description, size) <= 0) {
xine_buffer_free(buf);