Skip to content

qsv: fix an error handling crash

Alaric Senat requested to merge asenat/vlc:fix/qsv-regression into master

By delaying encoder->p_sys initialization, a03fdfd9 introduced a crash due to Close requiring encoder->p_sys to be valid.

This patches refactors the encoder closure to workaround that.

Merge request reports

Loading