mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added a missing initialization to sDvbSpuRect
This commit is contained in:
parent
1387660744
commit
9f0ac31f0d
@ -2678,3 +2678,6 @@ Gerald Dachs <vdr@dachsweb.de>
|
||||
|
||||
Juergen Lock <vdr-l@jelal.kn-bremen.de>
|
||||
for fixing cUnbufferedFile::Seek() in case it is compiled without USE_FADVISE
|
||||
|
||||
Sergiu Dotenco <sergiu.dotenco@googlemail.com>
|
||||
for reporting a missing initialization in sDvbSpuRect
|
||||
|
1
HISTORY
1
HISTORY
@ -6582,3 +6582,4 @@ Video Disk Recorder Revision History
|
||||
behavior was introduced in version 1.5.7.
|
||||
- Fixed scaling subtitles in case the OSD size is exactly the same as the display
|
||||
size of the subtitles.
|
||||
- Added a missing initialization to sDvbSpuRect (reported by Sergiu Dotenco).
|
||||
|
5
dvbspu.h
5
dvbspu.h
@ -8,7 +8,7 @@
|
||||
*
|
||||
* parts of this file are derived from the OMS program.
|
||||
*
|
||||
* $Id: dvbspu.h 2.4 2009/12/13 12:07:00 kls Exp $
|
||||
* $Id: dvbspu.h 2.5 2011/03/27 14:50:48 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __DVBSPU_H
|
||||
@ -32,6 +32,9 @@ typedef struct sDvbSpuRect {
|
||||
int x1, y1;
|
||||
int x2, y2;
|
||||
|
||||
sDvbSpuRect(void) {
|
||||
x1 = y1 = x2 = y2 = 0;
|
||||
};
|
||||
int width() const {
|
||||
return x2 - x1 + 1;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user