Module: libav Branch: master Commit: 7ad06beb2cf31d8a96f475361425d6cc95e8f176
Author: Alex Converse <[email protected]> Committer: Alex Converse <[email protected]> Date: Fri Oct 14 10:38:42 2011 -0700 mov: 10l: Terminate string with 0 not '0' --- libavformat/mov.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 06057a2..0463c17 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); } _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
