projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5baaf9a
)
10l in code reading codec_name, the first byte is the length and should not
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 30 Sep 2009 18:27:39 +0000
(18:27 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 30 Sep 2009 18:27:39 +0000
(18:27 +0000)
become part of the string.
Originally committed as revision 20102 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
45c927c
..
fdf921c
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-913,7
+913,7
@@
static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
int pos = 0;
for (i = 0; i < codec_name[0] && pos < sizeof(st->codec->codec_name) - 3; i++) {
uint8_t tmp;
- PUT_UTF8(codec_name[i], tmp, st->codec->codec_name[pos++] = tmp;)
+ PUT_UTF8(codec_name[i
+1
], tmp, st->codec->codec_name[pos++] = tmp;)
}
st->codec->codec_name[pos] = 0;
}