You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
@ -147,8 +147,8 @@ static inline void qtrle_decode_2n4bpp(QtrleContext *s, int row_ptr,
|
|||||||
}
|
}
|
||||||
CHECK_PIXEL_PTR(rle_code * num_pixels);
|
CHECK_PIXEL_PTR(rle_code * num_pixels);
|
||||||
while (rle_code--) {
|
while (rle_code--) {
|
||||||
for (i = 0; i < num_pixels; i++)
|
memcpy(&rgb[pixel_ptr], &pi, num_pixels);
|
||||||
rgb[pixel_ptr++] = pi[i];
|
pixel_ptr += num_pixels;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* copy the same pixel directly to output 4 times */
|
/* copy the same pixel directly to output 4 times */
|
||||||
|
Reference in New Issue
Block a user