summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideoenc.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/roqvideoenc.c
parent6afad4c7e9b9abd785d2b769cbcba3eee4714d48 (diff)
downloadffmpeg-6b2c1d10185592442988ec5332ac57eb48dea4b6.tar.gz
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/roqvideoenc.c')
-rw-r--r--libavcodec/roqvideoenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index a9ec5950ff..684dbe0af5 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -826,7 +826,7 @@ static int generate_codebook(RoqEncContext *enc,
int *closest_cb = enc->closest_cb;
ret = avpriv_elbg_do(&enc->elbg, points, 6 * c_size, inputCount, codebook,
- cbsize, 1, closest_cb, &enc->randctx);
+ cbsize, 1, closest_cb, &enc->randctx, 0);
if (ret < 0)
return ret;