summaryrefslogtreecommitdiff
path: root/libavcodec/utvideo.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-06-11 18:17:41 +0200
committerPaul B Mahol <onemda@gmail.com>2016-06-11 18:36:39 +0200
commit115e63c8d6791ebdc921caf40c3def024690af2e (patch)
tree0d768fce26ec62026b552f7192c90af9b94fad8c /libavcodec/utvideo.c
parentb21f674876badefc68e4deecdb4a1d46de10b67c (diff)
avcodec/utvideo: add support for UQY2
Signed-off-by: Paul B Mahol <onemda@gmail.com>
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 b14e56e0d8..5828d5ec0d 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;
+}