avcodec/8bps: fix style issue

This commit is contained in:
Paul B Mahol 2022-09-17 10:32:16 +02:00
parent e35af6bcef
commit 05066cba19
1 changed files with 1 additions and 1 deletions

View File

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