[FFmpeg-devel] [PATCH 3/5] avformat/vividas: remove dead assignment

Michael Niedermayer michael at niedermayer.cc
Sun Sep 1 01:32:38 EEST 2019


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavformat/vividas.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/vividas.c b/libavformat/vividas.c
index 645e322b6e..61dfcf11c1 100644
--- a/libavformat/vividas.c
+++ b/libavformat/vividas.c
@@ -160,8 +160,6 @@ static void decode_block(uint8_t *src, uint8_t *dest, unsigned size,
     }
 
     if (s >= 4) {
-        if (!align)
-            align = 4;
         xor_block(src + a2, dest + a2, s & ~3,
                   key, key_ptr);
         s &= 3;
-- 
2.23.0



More information about the ffmpeg-devel mailing list