hwcontext: Perform usual initialisation on derived device contexts
authorMark Thompson <sw@jkqxz.net>
Sun, 8 Oct 2017 14:19:17 +0000 (15:19 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 11 Feb 2018 22:11:10 +0000 (22:11 +0000)
commitcaecb85014fc81f8734560a150073627eedab78c
tree61bfe54f2b7bbd11fecfcaaf0988fb14ec7f293c
parentc6bc18bc121ea66df715123c59f7ef9542c0914a
hwcontext: Perform usual initialisation on derived device contexts

The initialisation should be common.  For libmfx, it was previously
happening in the derivation function and this moves it out.
libavutil/hwcontext.c
libavutil/hwcontext_qsv.c