summaryrefslogtreecommitdiffstats
path: root/src/file_dv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-09-25 20:32:08 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-09-25 20:32:08 +0200
commit5d18a4828bc74677ec17db07a4d8de2cc75be032 (patch)
treec4b10474ddd5eca6447f8fe4a541f7b0c35f961e /src/file_dv.c
parent21827baef53aaa4a8c97f35850722b93c42f5914 (diff)
Fallback to fseek() if fseeko() failed
Diffstat (limited to 'src/file_dv.c')
-rw-r--r--src/file_dv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/file_dv.c b/src/file_dv.c
index e44b859..6aabd81 100644
--- a/src/file_dv.c
+++ b/src/file_dv.c
@@ -41,12 +41,6 @@ const file_hint_t file_hint_dv= {
.register_header_check=&register_header_check_dv
};
-#if defined(HAVE_FSEEKO) && !defined(__MINGW32__)
-#define my_fseek fseeko
-#else
-#define my_fseek fseek
-#endif
-
static data_check_t data_check_NTSC(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
{
while(file_recovery->calculated_file_size + buffer_size/2 >= file_recovery->file_size &&