summaryrefslogtreecommitdiff
path: root/libavcodec/h264dec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-04-10 16:10:11 -0300
committerJames Almer <jamrial@gmail.com>2021-04-14 20:07:52 -0300
commit42551a3407b0619c97cd4365bc277682c40234c3 (patch)
treefb011a5190552afcd7df7f0933342d18d0e83283 /libavcodec/h264dec.c
parent82ebe0c7968262c7e27700b93bc58be0d7228458 (diff)
avcodec/h264dec: update exported AVOptions in the user-facing context
Based on a patch by Hendrik Leppkes. Fixes ticket #9176. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/h264dec.c')
-rw-r--r--libavcodec/h264dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 1dd50ead9f..e5b77abc6a 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -1083,6 +1083,7 @@ AVCodec ff_h264_decoder = {
FF_CODEC_CAP_ALLOCATE_PROGRESS | FF_CODEC_CAP_INIT_CLEANUP,
.flush = h264_decode_flush,
.update_thread_context = ONLY_IF_THREADS_ENABLED(ff_h264_update_thread_context),
+ .update_thread_context_for_user = ONLY_IF_THREADS_ENABLED(ff_h264_update_thread_context_for_user),
.profiles = NULL_IF_CONFIG_SMALL(ff_h264_profiles),
.priv_class = &h264_class,
};