diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-03-27 14:52:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-03-27 14:52:31 +0200 |
commit | 9f0ac31f0dd617ae1575b230c9a4c00e17eb94c5 (patch) | |
tree | a073ed2d8a83d4ed84c8057d04c1235982bbcf43 /dvbspu.h | |
parent | 1387660744be6a00e89e6eb5ee337baed701574c (diff) | |
download | vdr-9f0ac31f0dd617ae1575b230c9a4c00e17eb94c5.tar.gz vdr-9f0ac31f0dd617ae1575b230c9a4c00e17eb94c5.tar.bz2 |
Added a missing initialization to sDvbSpuRect
Diffstat (limited to 'dvbspu.h')
-rw-r--r-- | dvbspu.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; }; |