diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-21 15:19:17 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-21 15:19:17 +0100 |
commit | 6d11b2f6567619cfa40b7e3809572818c7fc41b9 (patch) | |
tree | 94a92e792bc55b0bc6336c0e0c0173ee4602491e /libavcodec/blockdsp.h | |
parent | 6eb75e7d592d103618f8b3fa1d9385abadbef156 (diff) | |
parent | b2939a75270bc7e971462648168aa3a2a48c1c8c (diff) | |
download | ffmpeg-6d11b2f6567619cfa40b7e3809572818c7fc41b9.tar.gz |
Merge commit 'b2939a75270bc7e971462648168aa3a2a48c1c8c'
* commit 'b2939a75270bc7e971462648168aa3a2a48c1c8c':
blockdsp: Change type of array stride parameters to ptrdiff_t
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/blockdsp.h')
-rw-r--r-- | libavcodec/blockdsp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/blockdsp.h b/libavcodec/blockdsp.h index 95e1d0f32e..6e27a02ba5 100644 --- a/libavcodec/blockdsp.h +++ b/libavcodec/blockdsp.h @@ -19,6 +19,7 @@ #ifndef AVCODEC_BLOCKDSP_H #define AVCODEC_BLOCKDSP_H +#include <stddef.h> #include <stdint.h> #include "avcodec.h" @@ -29,7 +30,7 @@ * h for op_pixels_func is limited to { width / 2, width }, * but never larger than 16 and never smaller than 4. */ typedef void (*op_fill_func)(uint8_t *block /* align width (8 or 16) */, - uint8_t value, int line_size, int h); + uint8_t value, ptrdiff_t line_size, int h); typedef struct BlockDSPContext { void (*clear_block)(int16_t *block /* align 16 */); |