summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-20 19:05:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-20 19:12:07 +0200
commit0da50055ebafb7852e80825abd0b8e5e72bd8b60 (patch)
tree107de9a6cdfaf95c0166fda0fc220d564f9d67ff /libavformat/matroskadec.c
parent6902c3acb0e1cd80fd40312a2053a86967708f35 (diff)
matroskadec: fix typo
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 1 insertions, 1 deletions
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;
}