avutil/imgutils: remove dead assignment

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint 2019-08-17 15:34:20 +02:00
parent 6ee40dcb64
commit b2e37e3eb2

View File

@ -519,7 +519,6 @@ static void memset_bytes(uint8_t *dst, size_t dst_size, uint8_t *clear,
if (clear_size == 1) { if (clear_size == 1) {
memset(dst, clear[0], dst_size); memset(dst, clear[0], dst_size);
dst_size = 0;
} else { } else {
if (clear_size > dst_size) if (clear_size > dst_size)
clear_size = dst_size; clear_size = dst_size;