avidec: simplify size parameter in memset()
This commit is contained in:
parent
581810f502
commit
2886f6759f
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user