diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-06-13 12:25:22 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-06-13 12:25:22 +0200 |
commit | e392051752aa8bdc9334ec5d546355907a503a7a (patch) | |
tree | 936715efcb2e6c0f704ed019d11cfa843521345c /recording.c | |
parent | e093d4c8a8d6a02404f39501e55009c1eb2f35ff (diff) | |
download | vdr-e392051752aa8bdc9334ec5d546355907a503a7a.tar.gz vdr-e392051752aa8bdc9334ec5d546355907a503a7a.tar.bz2 |
Fixed index types in cIndexFile::GetNextIFrame()
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recording.c b/recording.c index 28a93a6a..5ba577f6 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 2.14 2009/06/06 13:39:40 kls Exp $ + * $Id: recording.c 2.15 2009/06/13 12:23:25 kls Exp $ */ #include "recording.h" @@ -1560,8 +1560,8 @@ int cIndexFile::GetNextIFrame(int Index, bool Forward, uint16_t *FileNumber, off *FileOffset = index[Index].offset; if (Length) { // all recordings end with a non-independent frame, so the following should be safe: - int fn = index[Index + 1].number; - int fo = index[Index + 1].offset; + uint16_t fn = index[Index + 1].number; + off_t fo = index[Index + 1].offset; if (fn == *FileNumber) *Length = fo - *FileOffset; else { |