diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-02 17:48:45 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-05 02:29:28 +0100 |
commit | 773947ba76c575abc01ba128206c87440dad40ec (patch) | |
tree | 9646d04486dcf7b62e90451b0e88dd76c2140ae4 /libavformat/mov.c | |
parent | 3e1a8e1ec1897086f063667480ec1a0eafd03392 (diff) | |
download | ffmpeg-773947ba76c575abc01ba128206c87440dad40ec.tar.gz |
lavf: deprecate get_strz() in favor of avio_get_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e16ead0716c2f988d1e26369a4c67b354ff86134)
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); |