aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/realrtsp/real.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/realrtsp/real.c')
-rw-r--r--libmpdemux/realrtsp/real.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/realrtsp/real.c b/libmpdemux/realrtsp/real.c
index 3a6683a0aa..852f70e1ed 100644
--- a/libmpdemux/realrtsp/real.c
+++ b/libmpdemux/realrtsp/real.c
@@ -767,7 +767,7 @@ rmff_header_t *real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwid
printf("real: Stream description size: %u\n", size);
#endif
- description=malloc((size+1));
+ description=malloc(size+1);
if( rtsp_read_data(rtsp_session, description, size) <= 0) {
buf = xbuffer_free(buf);