mirror of https://github.com/mpv-player/mpv
100l, bzero is deprecated, use memset instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25216 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2438f463c3
commit
def649b0e4
|
@ -342,7 +342,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
|
||||||
af_msg(AF_MSG_FATAL, "[scaletempo] Out of memory\n");
|
af_msg(AF_MSG_FATAL, "[scaletempo] Out of memory\n");
|
||||||
return AF_ERROR;
|
return AF_ERROR;
|
||||||
}
|
}
|
||||||
bzero(s->buf_overlap, s->bytes_overlap);
|
memset(s->buf_overlap, 0, s->bytes_overlap);
|
||||||
if (use_int) {
|
if (use_int) {
|
||||||
int32_t* pb = s->table_blend;
|
int32_t* pb = s->table_blend;
|
||||||
int64_t blend = 0;
|
int64_t blend = 0;
|
||||||
|
|
Loading…
Reference in New Issue