diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-09-22 10:55:39 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-09-22 10:55:39 +0200 |
commit | e8d7171b960a1e373e57d96d99e5e17002640adc (patch) | |
tree | b6175f51f7219e38342a54f6cda53c6c2d33655d /spuencoder.c | |
parent | ab24c7ec507478f9993718f773edebaad101a315 (diff) | |
download | vdr-plugin-dxr3-e8d7171b960a1e373e57d96d99e5e17002640adc.tar.gz vdr-plugin-dxr3-e8d7171b960a1e373e57d96d99e5e17002640adc.tar.bz2 |
change constr. of cSpuRegion to work with an startLine value
Diffstat (limited to 'spuencoder.c')
-rw-r--r-- | spuencoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spuencoder.c b/spuencoder.c index 973e241..ed9e722 100644 --- a/spuencoder.c +++ b/spuencoder.c @@ -91,7 +91,7 @@ void cSpuEncoder::encode(cBitmap *bmap, int top, int left) generateColorPalette(); // add one region - cSpuRegion *reg = new cSpuRegion(); + cSpuRegion *reg = new cSpuRegion(0); for (int i = 0; i < numColors; i++) { reg->addIndex(bitmap->Index(colors[i])); |