diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-13 22:11:47 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-13 22:11:47 +0000 |
commit | 26f0e5e4a1e9cf0b38fbcd25ab1facb8b3f22744 (patch) | |
tree | a83a82a6ab5a1b73534e689e88353f314b5258fe /libmpdemux/realrtsp/sdpplin.c | |
parent | 74b35b3fc7b80c1f0be09b90a892b928b9764040 (diff) |
more sizeof(char) fun
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19075 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/realrtsp/sdpplin.c')
-rw-r--r-- | libmpdemux/realrtsp/sdpplin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/realrtsp/sdpplin.c b/libmpdemux/realrtsp/sdpplin.c index 34e5925d60..80ba62bae1 100644 --- a/libmpdemux/realrtsp/sdpplin.c +++ b/libmpdemux/realrtsp/sdpplin.c @@ -203,7 +203,7 @@ static sdpplin_stream_t *sdpplin_parse_stream(char **data) { if(filter(*data,"a=OpaqueData:buffer;",&buf)) { decoded = b64_decode(buf, decoded, &(desc->mlti_data_size)); - desc->mlti_data=malloc(sizeof(char)*desc->mlti_data_size); + desc->mlti_data=malloc(desc->mlti_data_size); memcpy(desc->mlti_data, decoded, desc->mlti_data_size); handled=1; *data=nl(*data); |