Browse Source

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
tags/v0.6
Anton Khirnov Diego Biurrun 15 years ago
parent
commit
9aa1bcce51
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/id3v2.c

+ 1
- 1
libavformat/id3v2.c 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 */


Loading…
Cancel
Save