mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-04 05: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);
|
memcpy(buf, tmp, 4);
|
||||||
|
|
||||||
if (avio_read(src, buf + 4, n) == n) {
|
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 {
|
} else {
|
||||||
av_free(buf);
|
av_free(buf);
|
||||||
buf = NULL;
|
buf = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user