aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-10-10 13:28:18 +0200
committerJanne Grunau <janne-libav@jannau.net>2011-10-10 13:28:18 +0200
commit2886f6759f31b192935761544c25d3677d66d24e (patch)
tree96f117a3c185044dc3cc9d845a5bbf33e5239b35 /libavformat/avidec.c
parent581810f5024dbb9df8e794dc0f5beac30d3a5fd4 (diff)
downloadffmpeg-2886f6759f31b192935761544c25d3677d66d24e.tar.gz
avidec: simplify size parameter in memset()
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 8c0ef13b14..81f72d336f 100644
--- 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:
- memset(d, -1, sizeof(int)*8);
+ memset(d, -1, sizeof(d));
for(i=sync=avio_tell(pb); !pb->eof_reached; i++) {
int j;