Mercurial > libavformat.hg
changeset 34:f17e285df237 libavformat
use av_strdup()
author | bellard |
---|---|
date | Thu, 23 Jan 2003 23:34:29 +0000 |
parents | 3eff1f2dcf71 |
children | a16ccdf4a87c |
files | ffm.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ffm.c Thu Jan 23 22:57:56 2003 +0000 +++ b/ffm.c Thu Jan 23 23:34:29 2003 +0000 @@ -421,7 +421,7 @@ codec->qcompress = get_be16(pb) / 10000.0; codec->qblur = get_be16(pb) / 10000.0; codec->bit_rate_tolerance = get_be32(pb); - codec->rc_eq = strdup(get_strz(pb, rc_eq_buf, sizeof(rc_eq_buf))); + codec->rc_eq = av_strdup(get_strz(pb, rc_eq_buf, sizeof(rc_eq_buf))); codec->rc_max_rate = get_be32(pb); codec->rc_min_rate = get_be32(pb); codec->rc_buffer_size = get_be32(pb);