summaryrefslogtreecommitdiff
path: root/libavfilter/vf_spp.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-12 13:34:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-12 13:34:18 +0100
commit30d2ac4bf9b995bd9ab00e3a7277f4207be676e8 (patch)
treeb35bb166a55994199854c1c807cd8750c0776225 /libavfilter/vf_spp.h
parente07c82688e8187dbafac489b7c15427252974021 (diff)
avfilter/vf_spp: change temporary to unsigned
More consistent with uspp and allows for future 10bit support Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_spp.h')
-rw-r--r--libavfilter/vf_spp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_spp.h b/libavfilter/vf_spp.h
index 7e7e227ad9..14e1ddb6eb 100644
--- a/libavfilter/vf_spp.h
+++ b/libavfilter/vf_spp.h
@@ -37,7 +37,7 @@ typedef struct {
int qscale_type;
int temp_linesize;
uint8_t *src;
- int16_t *temp;
+ uint16_t *temp;
AVCodecContext *avctx;
AVDCT *dct;
int8_t *non_b_qp_table;
@@ -45,7 +45,7 @@ typedef struct {
int use_bframe_qp;
int hsub, vsub;
- void (*store_slice)(uint8_t *dst, const int16_t *src,
+ void (*store_slice)(uint8_t *dst, const uint16_t *src,
int dst_stride, int src_stride,
int width, int height, int log2_scale,
const uint8_t dither[8][8]);