diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-01-21 19:18:07 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-21 20:21:03 +0000 |
commit | 4efd5cf34b7a04f87805aa0f09913d1d122d300c (patch) | |
tree | fee5313b3fd0435d44cab3e47a5dde79e1405576 /libavformat/ffmenc.c | |
parent | 1c189fc5334d4a687b15861d81d22c8ba2c9cd5e (diff) | |
download | ffmpeg-4efd5cf34b7a04f87805aa0f09913d1d122d300c.tar.gz |
avio: add av_put_str and deprecate put_strz in favor of it
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/ffmenc.c')
-rw-r--r-- | libavformat/ffmenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ffmenc.c b/libavformat/ffmenc.c index c5c59db711..10c0f118a7 100644 --- a/libavformat/ffmenc.c +++ b/libavformat/ffmenc.c @@ -132,7 +132,7 @@ static int ffm_write_header(AVFormatContext *s) put_be16(pb, (int) (codec->qcompress * 10000.0)); put_be16(pb, (int) (codec->qblur * 10000.0)); put_be32(pb, codec->bit_rate_tolerance); - put_strz(pb, codec->rc_eq ? codec->rc_eq : "tex^qComp"); + avio_put_str(pb, codec->rc_eq ? codec->rc_eq : "tex^qComp"); put_be32(pb, codec->rc_max_rate); put_be32(pb, codec->rc_min_rate); put_be32(pb, codec->rc_buffer_size); |