webp: Fix alpha decoding
authorMark Thompson <sw@jkqxz.net>
Fri, 17 Feb 2017 23:14:19 +0000 (23:14 +0000)
committerMark Thompson <sw@jkqxz.net>
Sat, 18 Feb 2017 19:53:20 +0000 (19:53 +0000)
commit7cb9296db872c4221453e5411f242ebcfca62664
treeec917c72b6cee7d97ea7c3914c3be876f18bf067
parent2d518aec4c781316092be65893b47922c8f71b67
webp: Fix alpha decoding

This was broken by 4e528206bc4d968706401206cf54471739250ec7 - the webp
decoder was assuming that it could set the output pixfmt of the vp8
decoder directly, but after that change it no longer could because
ff_get_format() was used instead.  This adds an internal get_format()
callback to webp use of the vp8 decoder to override the pixfmt
appropriately.
libavcodec/webp.c