aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-01-23 23:34:29 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-23 23:34:29 +0000
commite9a9e0c21090d18089d212c39e9249f9a7ed559c (patch)
tree2217ae1ac0279ebc6081549625fc2b0007d96515 /libavformat
parent0d4c587854097c1cf530d1d9fd0ff8bb231be427 (diff)
downloadffmpeg-e9a9e0c21090d18089d212c39e9249f9a7ed559c.tar.gz
use av_strdup()
Originally committed as revision 1507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/ffm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ffm.c b/libavformat/ffm.c
index 3df2d5e736..da761cbed8 100644
--- a/libavformat/ffm.c
+++ b/libavformat/ffm.c
@@ -421,7 +421,7 @@ static int ffm_read_header(AVFormatContext *s, AVFormatParameters *ap)
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);