OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb22c3
)
mov: 10l: Terminate string with 0 not '0'
author
Alex Converse
<alex.converse@gmail.com>
Fri, 14 Oct 2011 17:38:42 +0000
(10:38 -0700)
committer
Alex Converse
<alex.converse@gmail.com>
Fri, 14 Oct 2011 17:38:42 +0000
(10:38 -0700)
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
06057a2
..
0463c17
100644
(file)
--- 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);
}