From e580f4e174642c2771ab1733c68beabe18a91461 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Dec 2003 15:52:51 +0000 Subject: restart the byte counter on a new recorded file patch #846899 by Alexander Eickhoff git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4141 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/mpeg.c') diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 4c711db1ef..4b9ab73101 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -2481,6 +2481,7 @@ void mpeg_new_file(char *filename) strncpy(recording_filename, filename, MAX_PATH - 1); recording_filename[MAX_PATH - 1] = 0; + num_rec_bytes = 0; disable_xing_header = true; /* Store the current time */ -- cgit v1.2.3