summaryrefslogtreecommitdiff
path: root/libavcodec/cinepakenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-16 20:10:56 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-24 00:01:27 +0200
commit6b2c1d10185592442988ec5332ac57eb48dea4b6 (patch)
tree694ae66b9b68ab829a6be2a2c7b6b4b405188b21 /libavcodec/cinepakenc.c
parent6afad4c7e9b9abd785d2b769cbcba3eee4714d48 (diff)
avcodec/elbg: Add flags to avpriv_elbg_do()
This is currently unused and it is only added to enable changes while maintaining ABI compatibility. The type is uintptr_t in order to potentially accept a pointer argument. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/cinepakenc.c')
-rw-r--r--libavcodec/cinepakenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c
index d1bcf2b2d5..edb553f0db 100644
--- a/libavcodec/cinepakenc.c
+++ b/libavcodec/cinepakenc.c
@@ -764,7 +764,7 @@ static int quantize(CinepakEncContext *s, int h, uint8_t *data[4],
size = i;
ret = avpriv_elbg_do(&s->elbg, s->codebook_input, entry_size, i, codebook,
- size, 1, s->codebook_closest, &s->randctx);
+ size, 1, s->codebook_closest, &s->randctx, 0);
if (ret < 0)
return ret;