compare: reorganize code
compare: reorganize code

xbmc/libass,libass/libass,MrSmile/libass,MrSmile/libass,ShiftMediaProject/libass,xbmc/libass,ShiftMediaProject/libass,libass/libass,astiob/libass,astiob/libass