GitHub PushEvent at 2014-04-21 10:54:41
Repository: xbmc
Actor: cg110
Payload: {"shas":[["2f7984da53e09cba3fd1106b144bc8300f11da9b","711c73f64afdce07b7e38039a96d2224209e9a6c@dokein.co.uk","DXVA: also reset the hwaccel hooks when resetting the hardware\n\nInjecting error returns into the open decoder path shows an issue with\nthe HW hooks still being set even though there is no hardware.  This\ncauses access violations, and is likely the cause of the access\nviolation seen in the debug logs.\n\nFix this by also resetting the hw hooks to their defaults when the\nhardware is cleared.\n\nThis occurs because the first open succeeds, and sets the hw hooks in\navctx.  The second open fails, and leaves the avctx hooks pointing at\nthe hw calls, which then null dereference..\n\nIdeally the hw hooks should null check, or unhook in the code the\nhandles the error returns.  But it doesn't have access to the\nCDVDVideoCodecFFmpeg context to get the pointer to the default\nfunctions.","Chris Gilbert",true]],"size":1,"ref":"refs/heads/master","head":"2f7984da53e09cba3fd1106b144bc8300f11da9b"}