Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-03-06 04:10:26 +0300
committerMichael Niedermayer <michaelni@gmx.at>2011-03-06 04:16:00 +0300
commit4118d66cb39f96a227c2f90d325a73045afe091e (patch)
tree9ed41facebf8cec3cce6b0d95cc1085dce5bdacb /libavformat/mov.c
parentb09e5068203bb9852734c04e37f852dd4d1d1137 (diff)
Revert "lavf: deprecate get_strz() in favor of avio_get_str"
This API is simply ridiculous. We of course keep API/ABI compatibility only useage of the worse API is reverted. This reverts commit 773947ba76c575abc01ba128206c87440dad40ec.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index e9435a93c6..be799a4fdc 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);
- avio_get_str(sc->pb, len - 2, title + 2, title_len - 2);
+ get_strz(sc->pb, title + 2, len - 1);
}
ff_new_chapter(s, i, st->time_base, sample->timestamp, end, title);