mirror of https://github.com/sipwise/rtpengine.git
The fallback for `avcodec_get_supported_config()` reads
`dec->avc.codec->pix_fmts`, but the decoder struct has no `codec` member,
so the build fails on anything below libavcodec 61.19:
lib/avc.c:73:39: error: 'struct <anonymous>' has no member named 'codec'
The line above it uses the `codec` argument and so should this one. The
encoder path has a `codec` member of its own, which is where this looks to
have come from.
Closes #2169
Change-Id: Iebf130d19c5107a012c61b821460a5879a777d39
pull/2166/head
parent
0986dd191c
commit
55fe3c2847
Loading…
Reference in new issue