From 3c7b611041255c4f61f3e2b7026026f2b5f96d22 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 22 Jan 2015 13:23:59 +0100 Subject: [PATCH] Added destination buffer width to h264_decompress. --- include/freerdp/codec/h264.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/freerdp/codec/h264.h b/include/freerdp/codec/h264.h index 8e835a9e7..2c9900805 100644 --- a/include/freerdp/codec/h264.h +++ b/include/freerdp/codec/h264.h @@ -61,7 +61,8 @@ extern "C" { FREERDP_API int h264_compress(H264_CONTEXT* h264, BYTE* pSrcData, UINT32 SrcSize, BYTE** ppDstData, UINT32* pDstSize); FREERDP_API int h264_decompress(H264_CONTEXT* h264, BYTE* pSrcData, UINT32 SrcSize, - BYTE** ppDstData, DWORD DstFormat, int nDstStep, int nDstHeight, RDPGFX_RECT16* regionRects, int numRegionRect); + BYTE** ppDstData, DWORD DstFormat, int nDstStep, int nDstWidth, int nDstHeight, + RDPGFX_RECT16* regionRects, int numRegionRect); FREERDP_API int h264_context_reset(H264_CONTEXT* h264);