X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ogg_afh.c;h=40aa6b64e9e81d58345ee4039ca68cc6a466c764;hp=2030eada238a85e939a325c0ef9ad0b771f0e8d2;hb=6494f4bfddde1b9e06c4cb8bcd3acf7b9cc762f1;hpb=e06c60040db60f45f6e0bb3095e8dac21420f126 diff --git a/ogg_afh.c b/ogg_afh.c index 2030eada..40aa6b64 100644 --- a/ogg_afh.c +++ b/ogg_afh.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2008 Andre Noll + * Copyright (C) 2004-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -9,6 +9,7 @@ #include #include #include +#include #include "para.h" #include "afh.h" @@ -210,7 +211,6 @@ static long unsigned ogg_compute_chunk_table(OggVorbis_File *of, long unsigned num_chunks; ogg_int64_t max = 0, min = 0, old_pos = 0; - ret = 0; num = time_total / chunk_time + 3; PARA_DEBUG_LOG("chunk time: %g allocating %d chunk pointers\n", chunk_time, num);