mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed variable types in cIndexFile
This commit is contained in:
parent
e392051752
commit
884d10fbf6
@ -1640,7 +1640,7 @@ Udo Richter <udo_richter@gmx.de>
|
|||||||
for reporting a problem with handling the maximum video file size
|
for reporting a problem with handling the maximum video file size
|
||||||
for suggesting to add a note to the INSTALL file about using subdirectories to
|
for suggesting to add a note to the INSTALL file about using subdirectories to
|
||||||
split a large disk into separate areas for VDR's video data and other stuff
|
split a large disk into separate areas for VDR's video data and other stuff
|
||||||
for reporting wrong index types in cIndexFile::GetNextIFrame()
|
for reporting wrong variable types in cIndexFile
|
||||||
|
|
||||||
Sven Kreiensen <svenk@kammer.uni-hannover.de>
|
Sven Kreiensen <svenk@kammer.uni-hannover.de>
|
||||||
for his help in keeping 'channels.conf.terr' up to date
|
for his help in keeping 'channels.conf.terr' up to date
|
||||||
|
3
HISTORY
3
HISTORY
@ -6134,5 +6134,4 @@ Video Disk Recorder Revision History
|
|||||||
- Added a plausibility check for the OSD percentage parameters
|
- Added a plausibility check for the OSD percentage parameters
|
||||||
to avoid problems in case the values are stored in the setup.conf
|
to avoid problems in case the values are stored in the setup.conf
|
||||||
file in a wrong way.
|
file in a wrong way.
|
||||||
- Fixed index types in cIndexFile::GetNextIFrame() (reported by
|
- Fixed variable types in cIndexFile (reported by Udo Richter).
|
||||||
Udo Richter).
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: recording.c 2.15 2009/06/13 12:23:25 kls Exp $
|
* $Id: recording.c 2.16 2009/06/13 13:34:08 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recording.h"
|
#include "recording.h"
|
||||||
@ -1529,8 +1529,8 @@ bool cIndexFile::Get(int Index, uint16_t *FileNumber, off_t *FileOffset, bool *I
|
|||||||
if (Independent)
|
if (Independent)
|
||||||
*Independent = index[Index].independent;
|
*Independent = index[Index].independent;
|
||||||
if (Length) {
|
if (Length) {
|
||||||
int fn = index[Index + 1].number;
|
uint16_t fn = index[Index + 1].number;
|
||||||
int fo = index[Index + 1].offset;
|
off_t fo = index[Index + 1].offset;
|
||||||
if (fn == *FileNumber)
|
if (fn == *FileNumber)
|
||||||
*Length = fo - *FileOffset;
|
*Length = fo - *FileOffset;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user