diff mbox series

[FFmpeg-devel] libaom: Do not use deprecated symbol.

Message ID 20210626084550.2128-1-g1710431395@gmail.com
State New
Headers show
Series [FFmpeg-devel] libaom: Do not use deprecated symbol.
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

g1710431395@gmail.com June 26, 2021, 8:45 a.m. UTC
From: lifegpc <g1710431395@gmail.com>

---
 libavcodec/libaomdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/libaomdec.c b/libavcodec/libaomdec.c
index 6e7324a832..48d1044edf 100644
--- a/libavcodec/libaomdec.c
+++ b/libavcodec/libaomdec.c
@@ -240,7 +240,7 @@  static av_cold int aom_free(AVCodecContext *avctx)
 
 static av_cold int av1_init(AVCodecContext *avctx)
 {
-    return aom_init(avctx, &aom_codec_av1_dx_algo);
+    return aom_init(avctx, aom_codec_av1_dx());
 }
 
 const AVCodec ff_libaom_av1_decoder = {