aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/id3v2.c
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2009-09-23 18:10:29 +0000
committerDiego Biurrun <diego@biurrun.de>2009-09-23 18:10:29 +0000
commit9aa1bcce51f023e434046b02ea8bb93afa4ac29c (patch)
treec9f5ea4728ada8269f6ea565dae8f3a807a02631 /libavformat/id3v2.c
parent787f8fad00c66fc225662f7defb90e79c112ed40 (diff)
downloadffmpeg-9aa1bcce51f023e434046b02ea8bb93afa4ac29c.tar.gz
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
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r--libavformat/id3v2.c2
1 files changed, 1 insertions, 1 deletions
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 */