av_register_hwaccel() from Gwenole Beauchesne.