[FFmpeg-cvslog] avformat/vividas: Remove align offset which is always masked off
Michael Niedermayer
git at videolan.org
Mon Sep 16 02:00:35 EEST 2019
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Aug 31 22:33:56 2019 +0200| [8e8fd25272c5c270243674184662ff6957e70484] | committer: Michael Niedermayer
avformat/vividas: Remove align offset which is always masked off
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8e8fd25272c5c270243674184662ff6957e70484
---
libavformat/vividas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list