[FFmpeg-devel,2/3] avutil/imgutils: remove dead assignment

Submitted by Marton Balint on Aug. 17, 2019, 7:41 p.m.

Details

Message ID 20190817194105.16492-2-cus@passwd.hu
State Accepted
Commit b2e37e3eb27b97cf8a226ffe716d98a8980d0e3e
Headers show

Commit Message

Marton Balint Aug. 17, 2019, 7:41 p.m.
Signed-off-by: Marton Balint <cus@passwd.hu>
---
 libavutil/imgutils.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Michael Niedermayer Aug. 18, 2019, 8:16 p.m.
On Sat, Aug 17, 2019 at 09:41:04PM +0200, Marton Balint wrote:
> Signed-off-by: Marton Balint <cus@passwd.hu>
> ---
>  libavutil/imgutils.c | 1 -
>  1 file changed, 1 deletion(-)

LGTM

thx

[...]
Marton Balint Aug. 22, 2019, 7:48 p.m.
On Sun, 18 Aug 2019, Michael Niedermayer wrote:

> On Sat, Aug 17, 2019 at 09:41:04PM +0200, Marton Balint wrote:
>> Signed-off-by: Marton Balint <cus@passwd.hu>
>> ---
>>  libavutil/imgutils.c | 1 -
>>  1 file changed, 1 deletion(-)
>
> LGTM

Applied, thanks.

Marton

Patch hide | download patch | download mbox

diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c
index c733cb5cf5..7f9c1b632c 100644
--- a/libavutil/imgutils.c
+++ b/libavutil/imgutils.c
@@ -519,7 +519,6 @@  static void memset_bytes(uint8_t *dst, size_t dst_size, uint8_t *clear,
 
     if (clear_size == 1) {
         memset(dst, clear[0], dst_size);
-        dst_size = 0;
     } else {
         if (clear_size > dst_size)
             clear_size = dst_size;