1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

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
This commit is contained in:
Anton Khirnov
2009-09-23 18:10:29 +00:00
committed by Diego Biurrun
parent 787f8fad00
commit 9aa1bcce51

View File

@@ -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 */