summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/libmpeg3
authorllornkcor <llornkcor>2002-04-10 19:13:40 (UTC)
committer llornkcor <llornkcor>2002-04-10 19:13:40 (UTC)
commit9237a75548f9b932fbb1900d8ea28dbee9da81ac (patch) (side-by-side diff)
treea0249408df5ce581af8bcee5b6f58bcee1db461a /core/multimedia/opieplayer/libmpeg3
parent11d754ffa429875b526c49f125d8a844c5cda3d8 (diff)
downloadopie-9237a75548f9b932fbb1900d8ea28dbee9da81ac.zip
opie-9237a75548f9b932fbb1900d8ea28dbee9da81ac.tar.gz
opie-9237a75548f9b932fbb1900d8ea28dbee9da81ac.tar.bz2
bug fix
Diffstat (limited to 'core/multimedia/opieplayer/libmpeg3') (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmpeg3/mpeg3io.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/multimedia/opieplayer/libmpeg3/mpeg3io.c b/core/multimedia/opieplayer/libmpeg3/mpeg3io.c
index c5807a7..c5cae00 100644
--- a/core/multimedia/opieplayer/libmpeg3/mpeg3io.c
+++ b/core/multimedia/opieplayer/libmpeg3/mpeg3io.c
@@ -34,16 +34,16 @@ int mpeg3_copy_fs(mpeg3_fs_t *dst, mpeg3_fs_t *src)
long mpeg3io_get_total_bytes(mpeg3_fs_t *fs)
{
-/*
- * struct stat st;
- * if(stat(fs->path, &st) < 0) return 0;
- * return (long)st.st_size;
- */
-
- fseek(fs->fd, 0, SEEK_END);
- fs->total_bytes = ftell(fs->fd);
- fseek(fs->fd, 0, SEEK_SET);
- return fs->total_bytes;
+
+ struct stat st;
+ if(stat(fs->path, &st) < 0) return 0;
+ return (long)st.st_size;
+
+
+/* fseek(fs->fd, 0, SEEK_END); */
+/* fs->total_bytes = ftell(fs->fd); */
+/* fseek(fs->fd, 0, SEEK_SET); */
+/* return fs->total_bytes; */
}
int mpeg3io_open_file(mpeg3_fs_t *fs)