mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Improved cDvbDevice::StillPicture() (cont'd)
This commit is contained in:
parent
262c266637
commit
514ee9e63a
4
HISTORY
4
HISTORY
@ -2437,3 +2437,7 @@ Video Disk Recorder Revision History
|
||||
2003-10-19: Version 1.2.6pre2
|
||||
|
||||
- Improved cDvbDevice::StillPicture() (thanks to Thomas Heiligenmann).
|
||||
|
||||
2003-10-24: Version 1.2.6pre3
|
||||
|
||||
- Improved cDvbDevice::StillPicture() (thanks to Oliver Endriss).
|
||||
|
4
config.h
4
config.h
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: config.h 1.176.1.1 2003/10/19 11:43:07 kls Exp $
|
||||
* $Id: config.h 1.176.1.2 2003/10/24 14:31:17 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
@ -19,7 +19,7 @@
|
||||
#include "device.h"
|
||||
#include "tools.h"
|
||||
|
||||
#define VDRVERSION "1.2.6pre2"
|
||||
#define VDRVERSION "1.2.6pre3"
|
||||
#define VDRVERSNUM 10206 // Version * 10000 + Major * 100 + Minor
|
||||
|
||||
#define MAXPRIORITY 99
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: dvbdevice.c 1.67.1.1 2003/10/19 11:41:07 kls Exp $
|
||||
* $Id: dvbdevice.c 1.67.1.2 2003/10/24 14:32:20 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbdevice.h"
|
||||
@ -963,7 +963,7 @@ void cDvbDevice::StillPicture(const uchar *Data, int Length)
|
||||
offs += Data[i + 8];
|
||||
len -= 3;
|
||||
len -= Data[i + 8];
|
||||
if (len < 0 || offs + len >= Length)
|
||||
if (len < 0 || offs + len > Length)
|
||||
break;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user