From 0da50055ebafb7852e80825abd0b8e5e72bd8b60 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 20 Sep 2012 19:05:27 +0200 Subject: [PATCH] matroskadec: fix typo Signed-off-by: Michael Niedermayer --- libavformat/matroskadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 6330b15ecf..5dd8dd52fc 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1989,7 +1989,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, } case 0x2: /* fixed-size lacing */ - if (size != (size / laces) * size) { + if (size != (size / laces) * laces) { res = AVERROR_INVALIDDATA; goto end; }