ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sat Sep 17 10:32:16 
2022 +0200| [05066cba1902456a8a269b13a3fbc7d06cc0afe0] | committer: Paul B Mahol

avcodec/8bps: fix style issue

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

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

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)

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to