You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/ituh263enc: Use memset where appropriate
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -30,6 +30,7 @@
|
||||
#include "config_components.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/thread.h"
|
||||
@ -93,8 +94,7 @@ static av_cold void init_mv_penalty_and_fcode(void)
|
||||
}
|
||||
}
|
||||
|
||||
for (int mv = 0; mv < MAX_MV * 2 + 1; mv++)
|
||||
umv_fcode_tab[mv]= 1;
|
||||
memset(umv_fcode_tab, 1, sizeof(umv_fcode_tab));
|
||||
}
|
||||
|
||||
static av_cold void init_uni_h263_rl_tab(const RLTable *rl, uint8_t *len_tab)
|
||||
|
Reference in New Issue
Block a user