summaryrefslogtreecommitdiffstats
path: root/libavcodec/utvideo.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-04-10 11:08:44 +0200
committerLuca Barbato <lu_zero@gentoo.org>2017-04-13 14:09:07 +0200
commitc5230955640cb65101a5f8add83abee0410583eb (patch)
treebbf0613c19156a5e9c3d4ee5daa06ab3bbadae2f /libavcodec/utvideo.c
parent9e4a5eb51b9f3b2bff0ef08e0074b7fe4893075d (diff)
downloadffmpeg-streaming-c5230955640cb65101a5f8add83abee0410583eb.zip
ffmpeg-streaming-c5230955640cb65101a5f8add83abee0410583eb.tar.gz
utvideodec: Support UQY2
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/utvideo.c')
-rw-r--r--libavcodec/utvideo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/utvideo.c b/libavcodec/utvideo.c
index 35e927c..556b4de 100644
--- a/libavcodec/utvideo.c
+++ b/libavcodec/utvideo.c
@@ -39,3 +39,9 @@ int ff_ut_huff_cmp_len(const void *a, const void *b)
const HuffEntry *aa = a, *bb = b;
return (aa->len - bb->len)*256 + aa->sym - bb->sym;
}
+
+int ff_ut10_huff_cmp_len(const void *a, const void *b)
+{
+ const HuffEntry *aa = a, *bb = b;
+ return (aa->len - bb->len) * 1024 + aa->sym - bb->sym;
+}
OpenPOWER on IntegriCloud