git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
581810f
)
avidec: simplify size parameter in memset()
author
Janne Grunau
<janne-libav@jannau.net>
Mon, 10 Oct 2011 11:28:18 +0000
(13:28 +0200)
committer
Janne Grunau
<janne-libav@jannau.net>
Mon, 10 Oct 2011 11:28:18 +0000
(13:28 +0200)
libavformat/avidec.c
patch
|
blob
|
history
diff --git
a/libavformat/avidec.c
b/libavformat/avidec.c
index
8c0ef13
..
81f72d3
100644
(file)
--- a/
libavformat/avidec.c
+++ b/
libavformat/avidec.c
@@
-848,7
+848,7
@@
static int avi_sync(AVFormatContext *s, int exit_early)
int64_t i, sync;
start_sync:
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;
for(i=sync=avio_tell(pb); !pb->eof_reached; i++) {
int j;