FreeRDP/libfreerdp/codec
David FORT ff92a12ceb Fix a bug in region_union_rect()
When region_union_rect() was called with a rect that was above the region without
intersecting it, the first band was created too large. This patch fixes this and
add a unitary test.

All credits go to @nfedera that:
* found the bug;
* find a dataset to reproduce;
* code the unitary test;
* spotted a suspicious line that was the faulty one.
2015-09-30 21:14:43 +02:00
..
include freerdp: get rid of old types 2012-10-09 03:26:39 -04:00
test Fix a bug in region_union_rect() 2015-09-30 21:14:43 +02:00
audio.c Decreased logging verbosity. 2014-09-15 19:51:17 +02:00
bitmap.c libfreerdp-core: refactor codec context management 2014-09-10 00:42:41 -04:00
clear.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
color.c improve handling of inverted pointer colors 2015-09-03 16:50:41 +02:00
dsp.c free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
h264.c media foundation support now a compile time option. 2015-08-11 07:58:43 +02:00
interleaved.c stream: check stream_new in winpr and libfreerdp 2015-05-29 04:46:50 -07:00
jpeg.c libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
mppc.c winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
ncrush.c free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
nsc.c shadow/client context cleanup and unused vars fix 2015-05-21 16:05:05 +02:00
nsc_encode.c coding style fixes 2015-03-30 17:15:45 +02:00
nsc_encode.h freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
nsc_sse2.c libfreerdp-codec: refactor NSCodec 2014-09-23 20:00:26 -04:00
nsc_sse2.h codec: got rid of nsc_context_set_cpu_opt 2013-03-05 10:52:18 +01:00
nsc_types.h Replaced logging in libfreerdp with wlog defines. 2014-09-15 08:48:46 +02:00
planar.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
progressive.c libfreerdp-codec: fix egfx artifacts resulting from incorrect handling of rects inside the same egfx frame 2015-06-28 13:57:46 -04:00
region.c Fix a bug in region_union_rect() 2015-09-30 21:14:43 +02:00
rfx.c Merge pull request #2859 from akallabeth/resource_leak_fix 2015-09-15 14:45:42 +02:00
rfx_bitstream.h Merge pull request #763 from FreeRDP/channels 2012-10-09 10:44:44 -07:00
rfx_constants.h freerdp: fix headers 2012-10-08 23:02:04 -04:00
rfx_decode.c libfreerdp-codec: start work on progressive inverse DWT 2014-08-19 14:48:09 -04:00
rfx_decode.h libfreerdp-codec: split stream parsing from tile decoding 2013-08-13 10:09:32 -04:00
rfx_differential.c libfreerdp-codec: optimize RemoteFX dequantization and differentiation 2014-08-18 21:10:56 -04:00
rfx_differential.h libfreerdp-codec: optimize RemoteFX dequantization and differentiation 2014-08-18 21:10:56 -04:00
rfx_dwt.c libfreerdp-codec: start work on progressive inverse DWT 2014-08-19 14:48:09 -04:00
rfx_dwt.h freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16 2012-10-09 03:01:37 -04:00
rfx_encode.c hardening 2015-03-25 17:38:21 +01:00
rfx_encode.h libfreerdp-codec: separate tile encoding from writing 2013-08-13 14:13:05 -04:00
rfx_neon.c libfreerdp-codec: optimize RemoteFX dequantization and differentiation 2014-08-18 21:10:56 -04:00
rfx_neon.h updated file headers 2013-12-04 11:44:22 +01:00
rfx_quantization.c libfreerdp-codec: optimize RemoteFX dequantization and differentiation 2014-08-18 21:10:56 -04:00
rfx_quantization.h libfreerdp-codec: start working on progressive dequantization 2014-08-18 19:12:08 -04:00
rfx_rlgr.c winpr: add intrin.h 2015-05-26 16:41:29 +02:00
rfx_rlgr.h libfreerdp-codec: remove old RemoteFX RLGR implementation in favour of faster one 2014-08-05 21:41:58 -04:00
rfx_sse2.c libfreerdp-codec: start work on progressive inverse DWT 2014-08-19 14:48:09 -04:00
rfx_sse2.h codec: Fixed NEON detection and incorrect RFX decoding 2013-02-21 07:08:46 -08:00
rfx_types.h Replaced logging in libfreerdp with wlog defines. 2014-09-15 08:48:46 +02:00
xcrush.c Replaced logging in libfreerdp with wlog defines. 2014-09-15 08:48:46 +02:00
zgfx.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00