diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-10-14 10:38:42 -0700 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-10-14 10:38:42 -0700 |
commit | 7ad06beb2cf31d8a96f475361425d6cc95e8f176 (patch) | |
tree | e28eaa9a4bc1becc2b85282d90d9ba141f7a449f | |
parent | 8fb22c3d47ccb87d0ee235226a700d2b3ca97afb (diff) | |
download | ffmpeg-7ad06beb2cf31d8a96f475361425d6cc95e8f176.tar.gz |
mov: 10l: Terminate string with 0 not '0'
-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 06057a29e9..0463c17cba 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2380,7 +2380,7 @@ static void mov_read_chapters(AVFormatContext *s) else { AV_WB16(title, ch); if (len == 1 || len == 2) - title[len] = '0'; + title[len] = 0; else avio_get_str(sc->pb, len - 2, title + 2, title_len - 2); } |