This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit ecd6fcb5ab0e6531f7d0000975bb6542e152f9c8
Author:     Wu Jianhua <[email protected]>
AuthorDate: Thu Aug 27 02:10:27 2026 +0800
Commit:     jianhuaw <[email protected]>
CommitDate: Fri Aug 28 18:50:16 2026 +0000

    avcodec/tiffenc: handle all TIFF types on big-endian
    
    Signed-off-by: Wu Jianhua <[email protected]>
---
 libavcodec/tiffenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index e53ba6f034..f4556d5f65 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -111,7 +111,7 @@ static void tnput(uint8_t **p, int n, const uint8_t *val, 
enum AVTiffDataType ty
 {
     int i;
 #if HAVE_BIGENDIAN
-    flip ^= ((int[]) { 0, 0, 0, 1, 3, 3 })[type];
+    flip ^= ((int[]) { 0, 0, 0, 1, 3, 3, 0, 0, 1, 3, 3, 3, 7, 3 })[type];
 #endif
     for (i = 0; i < n * type_sizes2[type]; i++)
         *(*p)++ = val[i ^ flip];

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to