git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8174e5c
)
avcodec/cfhd: Fix linesize type
author
Michael Niedermayer
<michael@niedermayer.cc>
Sun, 4 Aug 2019 10:02:33 +0000
(12:02 +0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Mon, 5 Aug 2019 15:54:24 +0000
(17:54 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cfhd.c
patch
|
blob
|
history
diff --git
a/libavcodec/cfhd.c
b/libavcodec/cfhd.c
index
c770ef3
..
a162fc7
100644
(file)
--- 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;
-
in
t dst_linesize;
+
ptrdiff_
t dst_linesize;
int16_t *low, *high, *output, *dst;
if (avctx->pix_fmt == AV_PIX_FMT_BAYER_RGGB16) {