diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-02 17:48:45 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-04 11:26:02 -0500 |
commit | e16ead0716c2f988d1e26369a4c67b354ff86134 (patch) | |
tree | b765d4e41ffe6e1aef32e0016c3349380e9f98c8 /libavformat/mov.c | |
parent | 41d8555f72e3bc60cf93af2a1a4786b452fd2736 (diff) | |
download | ffmpeg-e16ead0716c2f988d1e26369a4c67b354ff86134.tar.gz |
lavf: deprecate get_strz() in favor of avio_get_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 537b9c6fb4..ad5bada180 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2331,7 +2331,7 @@ static void mov_read_chapters(AVFormatContext *s) avio_get_str16le(sc->pb, len, title, title_len); else { AV_WB16(title, ch); - get_strz(sc->pb, title + 2, len - 1); + avio_get_str(sc->pb, len - 2, title + 2, title_len - 2); } ff_new_chapter(s, i, st->time_base, sample->timestamp, end, title); |