Another AVhwaccel hunk from Gwenole Beauchesne.