summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-12 15:52:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-12 15:52:51 +0000
commite580f4e174642c2771ab1733c68beabe18a91461 (patch)
tree38b1ed1f01109db547a83d21277db613a6c5a234 /firmware
parent0115af21d9badaab2fdb7e2404bea69a0504e4b0 (diff)
downloadrockbox-e580f4e174642c2771ab1733c68beabe18a91461.tar.gz
rockbox-e580f4e174642c2771ab1733c68beabe18a91461.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/mpeg.c1
1 files changed, 1 insertions, 0 deletions
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)
2481 strncpy(recording_filename, filename, MAX_PATH - 1); 2481 strncpy(recording_filename, filename, MAX_PATH - 1);
2482 recording_filename[MAX_PATH - 1] = 0; 2482 recording_filename[MAX_PATH - 1] = 0;
2483 2483
2484 num_rec_bytes = 0;
2484 disable_xing_header = true; 2485 disable_xing_header = true;
2485 2486
2486 /* Store the current time */ 2487 /* Store the current time */