diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-12-12 15:52:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-12-12 15:52:51 +0000 |
commit | e580f4e174642c2771ab1733c68beabe18a91461 (patch) | |
tree | 38b1ed1f01109db547a83d21277db613a6c5a234 /firmware/mpeg.c | |
parent | 0115af21d9badaab2fdb7e2404bea69a0504e4b0 (diff) | |
download | rockbox-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/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 1 |
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 */ |