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
27d95dfb39
commit
2ab8af3dd5
4
HISTORY
4
HISTORY
@ -2438,6 +2438,10 @@ Video Disk Recorder Revision History
|
||||
|
||||
- Improved cDvbDevice::StillPicture() (thanks to Thomas Heiligenmann).
|
||||
|
||||
2003-10-24: Version 1.2.6pre3
|
||||
|
||||
- Improved cDvbDevice::StillPicture() (thanks to Oliver Endriss).
|
||||
|
||||
2003-10-24: Version 1.3.0
|
||||
|
||||
- Changed thread handling to make it work with NPTL ("Native Posix Thread Library").
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: dvbdevice.c 1.69 2003/10/19 12:59:16 kls Exp $
|
||||
* $Id: dvbdevice.c 1.70 2003/10/24 15:45:15 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbdevice.h"
|
||||
@ -962,7 +962,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