aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Gerber <j@v2v.cc>2013-11-16 01:12:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-07 03:05:30 +0100
commit73aa4518eec4afb5805f41c01df61bf4b7b47d0d (patch)
tree879597778ed1f3c9a3ff2a054d3ed3d934f23af0
parentaee36a7d16db350e3b1c245c9a978586bc866967 (diff)
downloadffmpeg-73aa4518eec4afb5805f41c01df61bf4b7b47d0d.tar.gz
lavf/matroskadec ReferenceBlock is a signed integer
according to the Matroska Specification ReferenceBlock is a signed integer too. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 8cc59ec881b8706fb3036a2a83f7ededa468dedb) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 77f9188c52..babf4b8060 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -572,7 +572,7 @@ static EbmlSyntax matroska_blockgroup[] = {
{ MATROSKA_ID_SIMPLEBLOCK, EBML_BIN, 0, offsetof(MatroskaBlock,bin) },
{ MATROSKA_ID_BLOCKDURATION, EBML_UINT, 0, offsetof(MatroskaBlock,duration) },
{ MATROSKA_ID_DISCARDPADDING, EBML_SINT, 0, offsetof(MatroskaBlock,discard_padding) },
- { MATROSKA_ID_BLOCKREFERENCE, EBML_UINT, 0, offsetof(MatroskaBlock,reference) },
+ { MATROSKA_ID_BLOCKREFERENCE, EBML_SINT, 0, offsetof(MatroskaBlock,reference) },
{ MATROSKA_ID_CODECSTATE, EBML_NONE },
{ 1, EBML_UINT, 0, offsetof(MatroskaBlock,non_simple), {.u=1} },
{ 0 }