aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-09-17 10:32:16 +0200
committerPaul B Mahol <onemda@gmail.com>2022-09-17 10:32:16 +0200
commit05066cba1902456a8a269b13a3fbc7d06cc0afe0 (patch)
treefcaa731477642f687f15f73ee0f26e2ceb392134
parente35af6bcef2cc3d370d257ba2466468d9ab3cdb3 (diff)
downloadffmpeg-05066cba1902456a8a269b13a3fbc7d06cc0afe0.tar.gz
avcodec/8bps: fix style issue
-rw-r--r--libavcodec/8bps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/8bps.c b/libavcodec/8bps.c
index 6870e7a938..90d6c96fd1 100644
--- a/libavcodec/8bps.c
+++ b/libavcodec/8bps.c
@@ -68,7 +68,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame,
unsigned char *planemap = c->planemap;
int ret;
- if (buf_size < planes * height *2)
+ if (buf_size < planes * height * 2)
return AVERROR_INVALIDDATA;
if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)