mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
bink: no need to increase width twice
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9e69d3c6d4
commit
594a3d6315
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ static void init_lengths(BinkContext *c, int width, int bw)
|
|||
|
||||
c->bundle[BINK_SRC_BLOCK_TYPES].len = av_log2((width >> 3) + 511) + 1;
|
||||
|
||||
c->bundle[BINK_SRC_SUB_BLOCK_TYPES].len = av_log2(((width + 7) >> 4) + 511) + 1;
|
||||
c->bundle[BINK_SRC_SUB_BLOCK_TYPES].len = av_log2((width >> 4) + 511) + 1;
|
||||
|
||||
c->bundle[BINK_SRC_COLORS].len = av_log2(bw*64 + 511) + 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue