OSDN Git Service

vaapi_decode: Clear parameter buffers to fix picture reuse
authorMark Thompson <sw@jkqxz.net>
Wed, 19 Oct 2016 22:45:46 +0000 (23:45 +0100)
committerMark Thompson <sw@jkqxz.net>
Mon, 24 Oct 2016 19:17:47 +0000 (20:17 +0100)
commit5e879b54a3a46817ea6c8a95a9aecab1176418b9
tree82c105221aaa59f78c870cafc93dd1633e4b5bac
parent754b20d7ebccbe8d316b12128c8cb433d5a516ac
vaapi_decode: Clear parameter buffers to fix picture reuse

When decoding interlaced pictures, the structure is reused to render
to the same surface twice.  The parameter buffers were not being
cleared, which caused the i965 driver to error out.
libavcodec/vaapi_decode.c