diff subreader.c @ 14642:38572280e8e7

bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>
author faust3
date Fri, 04 Feb 2005 18:31:04 +0000
parents 326d3bd9dba6
children ba07942279c5
line wrap: on
line diff
--- a/subreader.c	Fri Feb 04 08:51:38 2005 +0000
+++ b/subreader.c	Fri Feb 04 18:31:04 2005 +0000
@@ -819,10 +819,10 @@
     static unsigned jacoTimeres = 30;
     static int jacoShift = 0;
 
-    bzero(current, sizeof(subtitle));
-    bzero(line1, LINE_LEN);
-    bzero(line2, LINE_LEN);
-    bzero(directive, LINE_LEN);
+    memset(current, 0, sizeof(subtitle));
+    memset(line1, 0, LINE_LEN);
+    memset(line2, 0, LINE_LEN);
+    memset(directive, 0, LINE_LEN);
     while (!current->text[0]) {
 	if (!fgets(line1, LINE_LEN, fd)) {
 	    return NULL;