Fix weight validity check
Fix weight validity check

MrSmile/libass,xbmc/libass,ShiftMediaProject/libass,libass/libass,ShiftMediaProject/libass,Akemi/libass,stps/libass,torque/libass,Akemi/libass,grigorig/libass,Akemi/libass,astiob/libass,MrSmile/libass,libass/libass,grigorig/libass,sanyaade-g2g-repos/libass,sanyaade-g2g-repos/libass,xbmc/libass,sanyaade-g2g-repos/libass,mwgoldsmith/libass,stps/libass,torque/libass,mwgoldsmith/libass,astiob/libass,mwgoldsmith/libass,stps/libass,torque/libass