mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
efdbf37255
commit
a594678e3d
285 changed files with 12724 additions and 1671 deletions
|
@ -311,8 +311,8 @@ static void image_copy_plane(uint8_t *dst, ptrdiff_t dst_linesize,
|
|||
{
|
||||
if (!dst || !src)
|
||||
return;
|
||||
av_assert0(FFABS(src_linesize) >= bytewidth);
|
||||
av_assert0(FFABS(dst_linesize) >= bytewidth);
|
||||
av_assert0(abs(src_linesize) >= bytewidth);
|
||||
av_assert0(abs(dst_linesize) >= bytewidth);
|
||||
for (;height > 0; height--) {
|
||||
memcpy(dst, src, bytewidth);
|
||||
dst += dst_linesize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue