Quoting Mark Thompson (2016-03-16 00:00:09) > + > +static int scale_vaapi_pipeline_uninit(ScaleVAAPIContext *ctx) > +{ > + if (ctx->va_context != VA_INVALID_ID) {
Some tests reveal that these checks are not good, because this function can be called without the context/config ids ever being initialized. E.g. if the caller provides invalid filter options, init is never called, but uninit is. -- Anton Khirnov _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel