Browse Source

mov: 10l: Terminate string with 0 not '0'

tags/n0.9
Alex Converse 14 years ago
parent
commit
7ad06beb2c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mov.c

+ 1
- 1
libavformat/mov.c View File

@@ -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);
}


Loading…
Cancel
Save