mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
sws: add casts to silence pointer type mismatch warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7ded017983
commit
b2cf655d6e
@ -992,7 +992,7 @@ int attribute_align_arg sws_scale(struct SwsContext *c,
|
||||
|
||||
base = srcStride[0] < 0 ? rgb0_tmp - srcStride[0] * (srcSliceH-1) : rgb0_tmp;
|
||||
|
||||
xyz12Torgb48(c, base, src2[0], srcStride[0]/2, srcSliceH);
|
||||
xyz12Torgb48(c, (uint16_t*)base, (const uint16_t*)src2[0], srcStride[0]/2, srcSliceH);
|
||||
src2[0] = base;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user