diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-30 17:07:36 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-30 17:12:58 +0400 |
commit | 7be79c76d3f7711c6c7e0c6d0f3ade5632bfb591 (patch) | |
tree | 0646f8b9758f478dd3f25dc4120728c8c18c0618 /libavcodec/huffyuvdsp.h | |
parent | 884078d2df0fecd769afdd916fac8727dbd7d632 (diff) |
avcodec/huffyuvdsp: Change w to intptr in add_hfyu_median_pred() and add_hfyu_left_pred()
This avoids potential issues with the high 32bits being random in x86-64 asm
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/huffyuvdsp.h')
-rw-r--r-- | libavcodec/huffyuvdsp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/huffyuvdsp.h b/libavcodec/huffyuvdsp.h index c52dd69405..78b2bca135 100644 --- a/libavcodec/huffyuvdsp.h +++ b/libavcodec/huffyuvdsp.h @@ -37,10 +37,10 @@ typedef struct HuffYUVDSPContext { void (*add_bytes)(uint8_t *dst /* align 16 */, uint8_t *src /* align 16 */, intptr_t w); void (*add_hfyu_median_pred)(uint8_t *dst, const uint8_t *top, - const uint8_t *diff, int w, + const uint8_t *diff, intptr_t w, int *left, int *left_top); int (*add_hfyu_left_pred)(uint8_t *dst, const uint8_t *src, - int w, int left); + intptr_t w, int left); void (*add_hfyu_left_pred_bgr32)(uint8_t *dst, const uint8_t *src, intptr_t w, uint8_t *left); } HuffYUVDSPContext; |