[FFmpeg-cvslog] matroskadec: fix typo

Michael Niedermayer git at videolan.org
Thu Sep 20 19:16:02 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Sep 20 19:05:27 2012 +0200| [0da50055ebafb7852e80825abd0b8e5e72bd8b60] | committer: Michael Niedermayer

matroskadec: fix typo

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0da50055ebafb7852e80825abd0b8e5e72bd8b60
---

 libavformat/matroskadec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 6330b15..5dd8dd5 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;
                     }



More information about the ffmpeg-cvslog mailing list