mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
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…
Reference in New Issue
Block a user