Commit d5ae4584 authored by Michael Niedermayer's avatar Michael Niedermayer

All id3 parsers are buggy, 0 termination fix 1 of n (issue created by andreas

and found by reimar) fix is from reimar + cosmetics by me.

Originally committed as revision 14069 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6f1e7a9e
......@@ -185,6 +185,8 @@ static void id3v2_read_ttag(AVFormatContext *s, int taglen, char *dst, int dstle
char *q;
int len;
if(dstlen > 0)
dst[0]= 0;
if(taglen < 1)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment