[FFmpeg-cvslog] avcodec/cfhd: Fix linesize type

Michael Niedermayer git at videolan.org
Mon Aug 5 19:02:44 EEST 2019


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Aug  4 12:02:33 2019 +0200| [fe2e1cfc191d48c45f51feb61fa198a2403931c2] | committer: Michael Niedermayer

avcodec/cfhd: Fix linesize type

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe2e1cfc191d48c45f51feb61fa198a2403931c2
---

 libavcodec/cfhd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {



More information about the ffmpeg-cvslog mailing list