From 9aa1bcce51f023e434046b02ea8bb93afa4ac29c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 23 Sep 2009 18:10:29 +0000 Subject: [PATCH] id3v2: Use 0 instead of '\0'. patch by Anton Khirnov, wyskas gmail com Originally committed as revision 20005 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/id3v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 8070a4a34d..6b1c4606e9 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -96,7 +96,7 @@ static void read_ttag(AVFormatContext *s, int taglen, const char *key) uint8_t tmp; PUT_UTF8(get_byte(s->pb), tmp, *q++ = tmp;) } - *q = '\0'; + *q = 0; break; case 3: /* UTF-8 */