Commit 2886f675 authored by Janne Grunau's avatar Janne Grunau

avidec: simplify size parameter in memset()

parent 581810f5
...@@ -848,7 +848,7 @@ static int avi_sync(AVFormatContext *s, int exit_early) ...@@ -848,7 +848,7 @@ static int avi_sync(AVFormatContext *s, int exit_early)
int64_t i, sync; int64_t i, sync;
start_sync: start_sync:
memset(d, -1, sizeof(int)*8); memset(d, -1, sizeof(d));
for(i=sync=avio_tell(pb); !pb->eof_reached; i++) { for(i=sync=avio_tell(pb); !pb->eof_reached; i++) {
int j; int j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment