summaryrefslogtreecommitdiffstats
path: root/stream/realrtsp/rmff.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-09-04 19:49:35 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-09-04 19:49:35 +0300
commit0e1b7765be878491565cf5e471f22b15e106164c (patch)
tree422e500c289335182a2a64934dcabf10b95e32dc /stream/realrtsp/rmff.c
parenta9618c1c6fe9424dfaeb1677348e0382d7252554 (diff)
parentdcfd043ea8d0c46929aad78596314d837c290d39 (diff)
downloadmpv-0e1b7765be878491565cf5e471f22b15e106164c.tar.bz2
mpv-0e1b7765be878491565cf5e471f22b15e106164c.tar.xz
Merge svn changes up to r29644
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;