提交 2886f675 编写于 作者: J Janne Grunau

avidec: simplify size parameter in memset()

上级 581810f5
......@@ -848,7 +848,7 @@ static int avi_sync(AVFormatContext *s, int exit_early)
int64_t i, sync;
start_sync:
memset(d, -1, sizeof(int)*8);
memset(d, -1, sizeof(d));
for(i=sync=avio_tell(pb); !pb->eof_reached; i++) {
int j;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册