summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorJan Gerber <j@v2v.cc>2013-11-16 01:12:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-16 01:24:40 +0100
commit8cc59ec881b8706fb3036a2a83f7ededa468dedb (patch)
tree4febf8a9fb1f9abec3d17a4792fb92edeb0080cf /libavformat/matroskadec.c
parentf4b1ca99ff86c6ba78e1b4730c85eac0d5a5817a (diff)
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>
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 e7d7efe33e..eb3b4e6ea7 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 }