mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
bink: fix pointer type warnings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
677911ad81
commit
f480fcb1f9
@ -857,7 +857,7 @@ static int binkb_decode_plane(BinkContext *c, GetBitContext *gb, int plane_idx,
|
||||
memset(dctblock, 0, sizeof(*dctblock) * 64);
|
||||
dctblock[0] = binkb_get_value(c, BINKB_SRC_INTRA_DC);
|
||||
qp = binkb_get_value(c, BINKB_SRC_INTRA_Q);
|
||||
read_dct_coeffs(gb, dctblock, bink_scan, binkb_intra_quant, qp);
|
||||
read_dct_coeffs(gb, dctblock, bink_scan, (const int32_t (*)[64])binkb_intra_quant, qp);
|
||||
c->bdsp.idct_put(dst, stride, dctblock);
|
||||
break;
|
||||
case 3:
|
||||
@ -890,7 +890,7 @@ static int binkb_decode_plane(BinkContext *c, GetBitContext *gb, int plane_idx,
|
||||
memset(dctblock, 0, sizeof(*dctblock) * 64);
|
||||
dctblock[0] = binkb_get_value(c, BINKB_SRC_INTER_DC);
|
||||
qp = binkb_get_value(c, BINKB_SRC_INTER_Q);
|
||||
read_dct_coeffs(gb, dctblock, bink_scan, binkb_inter_quant, qp);
|
||||
read_dct_coeffs(gb, dctblock, bink_scan, (const int32_t (*)[64])binkb_inter_quant, qp);
|
||||
c->bdsp.idct_add(dst, stride, dctblock);
|
||||
break;
|
||||
case 5:
|
||||
|
Loading…
Reference in New Issue
Block a user