summaryrefslogtreecommitdiffstats
path: root/subreader.c
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-04 18:31:04 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-04 18:31:04 +0000
commitb08e2e7c082ab315eb001c77eb00abcf86d57b11 (patch)
tree0d1b2e0e56151b3f97a48089be42961f9df675d7 /subreader.c
parentd41002d21b6104c6bc545151e7f0d687a1ea8c16 (diff)
downloadmpv-b08e2e7c082ab315eb001c77eb00abcf86d57b11.tar.bz2
mpv-b08e2e7c082ab315eb001c77eb00abcf86d57b11.tar.xz
bzero is deprecated patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14643 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subreader.c')
-rw-r--r--subreader.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/subreader.c b/subreader.c
index b234fe261c..ab1323eba3 100644
--- a/subreader.c
+++ b/subreader.c
@@ -819,10 +819,10 @@ subtitle *sub_read_line_jacosub(FILE * fd, subtitle * current)
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;