[FFmpeg-devel] [PATCH 5/7] avcodec/x86/mpegvideoencdsp: fix comment for draw_edges_mmx

Ramiro Polla ramiro.polla at gmail.com
Sun Aug 18 23:13:24 EEST 2024


Not only w == 8 and w == 16 are supported, but also w == 4.
---
 libavcodec/x86/mpegvideoencdsp_init.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/x86/mpegvideoencdsp_init.c b/libavcodec/x86/mpegvideoencdsp_init.c
index ec174b15aa..503548e668 100644
--- a/libavcodec/x86/mpegvideoencdsp_init.c
+++ b/libavcodec/x86/mpegvideoencdsp_init.c
@@ -95,8 +95,7 @@ int ff_pix_norm1_sse2(const uint8_t *pix, int line_size);
 #undef PHADDD
 #endif /* HAVE_SSSE3_INLINE */
 
-/* Draw the edges of width 'w' of an image of size width, height
- * this MMX version can only handle w == 8 || w == 16. */
+/* Draw the edges of width 'w' of an image of size width, height */
 static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height,
                            int w, int h, int sides)
 {
-- 
2.30.2



More information about the ffmpeg-devel mailing list