This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Fix off-by-1 error in the tag parsing code.
Originally committed as revision 22945 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Jai Menon
15 years ago
parent
ddecab2097
commit
037e9afd37
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/id3v2.c
+ 1
- 1
libavformat/id3v2.c
View File
@@ -127,7 +127,7 @@ static void read_ttag(AVFormatContext *s, int taglen, const char *key)
break;
case 3: /* UTF-8 */
len = FFMIN(taglen, dstlen
- 1
);
len = FFMIN(taglen, dstlen);
get_buffer(s->pb, dst, len);
dst[len] = 0;
break;
Write
Preview
Loading…
Cancel
Save