[FFmpeg-cvslog] r20005 - trunk/libavformat/id3v2.c

diego subversion
Wed Sep 23 20:10:29 CEST 2009


Author: diego
Date: Wed Sep 23 20:10:29 2009
New Revision: 20005

Log:
id3v2: Use 0 instead of '\0'.
patch by Anton Khirnov, wyskas gmail com

Modified:
   trunk/libavformat/id3v2.c

Modified: trunk/libavformat/id3v2.c
==============================================================================
--- trunk/libavformat/id3v2.c	Wed Sep 23 20:04:40 2009	(r20004)
+++ trunk/libavformat/id3v2.c	Wed Sep 23 20:10:29 2009	(r20005)
@@ -96,7 +96,7 @@ static void read_ttag(AVFormatContext *s
             uint8_t tmp;
             PUT_UTF8(get_byte(s->pb), tmp, *q++ = tmp;)
         }
-        *q = '\0';
+        *q = 0;
         break;
 
     case 3:  /* UTF-8 */



More information about the ffmpeg-cvslog mailing list