ref: c95031c0888f4c16fc19056e7669d64d6249254c
parent: c2f18c2da2fb32360843df37e0f168c5d558a254
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Dec 31 19:24:36 EST 1969
vpx: pass ABI version
--- a/decoder_vpx.c
+++ b/decoder_vpx.c
@@ -92,7 +92,7 @@
a = calloc(1, sizeof(*a));
iface = d->s->fmt == FmtVP9 ? vpx_codec_vp9_dx() : vpx_codec_vp8_dx();
- if(vpx_codec_dec_init(&a->ctx, iface, &cfg, 0) != 0){
+ if(vpx_codec_dec_init_ver(&a->ctx, iface, &cfg, 0, VPX_DECODER_ABI_VERSION) != 0){
werrstr("vpx_codec_dec_init failed");
free(a);
return -1;