summaryrefslogtreecommitdiffstats
path: root/stream/realrtsp/rmff.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/realrtsp/rmff.c')
-rw-r--r--stream/realrtsp/rmff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/realrtsp/rmff.c b/stream/realrtsp/rmff.c
index b98ccd9377..e147b76f36 100644
--- a/stream/realrtsp/rmff.c
+++ b/stream/realrtsp/rmff.c
@@ -570,7 +570,7 @@ rmff_mdpr_t *rmff_new_mdpr(
uint32_t type_specific_len,
const char *type_specific_data ) {
- rmff_mdpr_t *mdpr=malloc(sizeof(rmff_mdpr_t));
+ rmff_mdpr_t *mdpr=calloc(sizeof(rmff_mdpr_t),1);
mdpr->object_id=MDPR_TAG;
mdpr->object_version=0;