summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-08-04 12:02:33 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-08-05 17:54:24 +0200
commitfe2e1cfc191d48c45f51feb61fa198a2403931c2 (patch)
treef190a23f0c90e97c09d5e15057d235bd5f629abb /libavcodec
parent8174e5c77d8a94b57b6b1bcbb90728cf8b08ab6b (diff)
avcodec/cfhd: Fix linesize type
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/cfhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index c770ef3288..a162fc7da3 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -808,7 +808,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
int lowpass_width = s->plane[plane].band[0][0].width;
int highpass_stride = s->plane[plane].band[0][1].stride;
int act_plane = plane == 1 ? 2 : plane == 2 ? 1 : plane;
- int dst_linesize;
+ ptrdiff_t dst_linesize;
int16_t *low, *high, *output, *dst;
if (avctx->pix_fmt == AV_PIX_FMT_BAYER_RGGB16) {