mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/cfhd: Fix linesize type
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
8174e5c77d
commit
fe2e1cfc19
@ -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 lowpass_width = s->plane[plane].band[0][0].width;
|
||||||
int highpass_stride = s->plane[plane].band[0][1].stride;
|
int highpass_stride = s->plane[plane].band[0][1].stride;
|
||||||
int act_plane = plane == 1 ? 2 : plane == 2 ? 1 : plane;
|
int act_plane = plane == 1 ? 2 : plane == 2 ? 1 : plane;
|
||||||
int dst_linesize;
|
ptrdiff_t dst_linesize;
|
||||||
int16_t *low, *high, *output, *dst;
|
int16_t *low, *high, *output, *dst;
|
||||||
|
|
||||||
if (avctx->pix_fmt == AV_PIX_FMT_BAYER_RGGB16) {
|
if (avctx->pix_fmt == AV_PIX_FMT_BAYER_RGGB16) {
|
||||||
|
Loading…
Reference in New Issue
Block a user