diff mbox series

[FFmpeg-devel,3/3] lavc/h274: fix comment (cosmetic)

Message ID 20230927135617.33952-3-ffmpeg@haasn.xyz
State Accepted
Commit 48fc414c7cc13185b5ffe462b288e95be2517196
Headers show
Series [FFmpeg-devel,1/3] lavc/h274: fix PRNG definition | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Niklas Haas Sept. 27, 2023, 1:56 p.m. UTC
From: Niklas Haas <git@haasn.dev>

Either the average, or the sum right-shifted. Not the average
right-shifted.
---
 libavcodec/h274.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/h274.c b/libavcodec/h274.c
index 2388826d547..a5caf09564d 100644
--- a/libavcodec/h274.c
+++ b/libavcodec/h274.c
@@ -110,7 +110,7 @@  static void init_slice(H274FilmGrainDatabase *database, uint8_t h, uint8_t v)
     init_slice_c(database->db[h][v], h, v, database->slice_tmp);
 }
 
-// Computes the average of an 8x8 block, right-shifted by 6
+// Computes the average of an 8x8 block
 static uint16_t avg_8x8_c(const uint8_t *in, int in_stride)
 {
     uint16_t avg[8] = {0}; // summing over an array vectorizes better