summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2019-08-31 22:33:56 +0200
committerMichael Niedermayer <[email protected]>2019-12-31 19:51:55 +0100
commit69e32fd0b11d02b7c81adcc4d7cc5b5acf9dd753 (patch)
treef8afa956e5a7d56ed12e456220bfd6c5dead7a21
parent372f9254c310d4c267377fbaa9c864f212bb5005 (diff)
avformat/vividas: Remove align offset which is always masked off
Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 8e8fd25272c5c270243674184662ff6957e70484) Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r--libavformat/vividas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vividas.c b/libavformat/vividas.c
index d7d75a8d3c..cb4949b4a6 100644
--- a/libavformat/vividas.c
+++ b/libavformat/vividas.c
@@ -218,7 +218,7 @@ static uint8_t *read_vblock(AVIOContext *src, uint32_t *size,
memcpy(buf, tmp, 4);
if (avio_read(src, buf + 4, n) == n) {
- decode_block(buf + 4, buf + 4, n, key, k2, align + 4);
+ decode_block(buf + 4, buf + 4, n, key, k2, align);
} else {
av_free(buf);
buf = NULL;