avidec: simplify size parameter in memset()

This commit is contained in:
Janne Grunau 2011-10-10 13:28:18 +02:00
parent 581810f502
commit 2886f6759f
1 changed files with 1 additions and 1 deletions

View File

@ -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;