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

Submitted by Michael Niedermayer on Aug. 31, 2019, 10:32 p.m.

Details

Message ID 20190831223240.27804-3-michael@niedermayer.cc
State Accepted
Commit 08dc354ef72991df22109cc6f84c34e798369bfb
Headers show

Commit Message

Michael Niedermayer Aug. 31, 2019, 10:32 p.m.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavformat/vividas.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Michael Niedermayer Sept. 15, 2019, 10:26 p.m.
On Sun, Sep 01, 2019 at 12:32:38AM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavformat/vividas.c | 2 --
>  1 file changed, 2 deletions(-)

will apply

[...]

Patch hide | download patch | download mbox

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;