mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-25 08:43:16 +00:00
avformat/vividas: Remove align offset which is always masked off
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8e8fd25272
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
372f9254c3
commit
69e32fd0b1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user