On Sat, Jan 23, 2016 at 07:13:38PM +0000, Mark Thompson wrote: > + av_log(0, AV_LOG_ERROR, "Failed to destroy surface: " > + "%d (%s).\n", vas, vaErrorStr(vas)); Maybe you can consider adding an AVClass just for logging. Either way the “0” needs to be “NULL.” Here and below. Timothy