commit | 721af294d9b7ba5df9ffe52b83254654c3d55f16 | [log] [tgz] |
---|---|---|
author | Luca Barbato <[email protected]> | Mon Apr 30 00:39:31 2012 |
committer | Luca Barbato <[email protected]> | Mon Apr 30 03:22:09 2012 |
tree | eafdc17def4c5b7a73f291f07a78a3a18e7c6ee9 | |
parent | 85395ba73f9cc1b3cece3e85ae12f491ad7c1dd2 [diff] [blame] |
mkv: forward EMBL block data error Do not return 0 on error.
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index e45cfb0..5688658 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c
@@ -1717,7 +1717,7 @@ if ((n = matroska_ebmlnum_uint(matroska, data, size, &num)) < 0) { av_log(matroska->ctx, AV_LOG_ERROR, "EBML block data error\n"); - return res; + return n; } data += n; size -= n;