Index: libvo/vo_xv.c =================================================================== --- libvo/vo_xv.c (revision 23698) +++ libvo/vo_xv.c (working copy) @@ -520,8 +520,12 @@ static void draw_osd(void) { + /* avoid SIGFPE */ vo_draw_text(image_width - - image_width * vo_panscan_x / (vo_dwidth + vo_panscan_x), + (vo_panscan_x == 0) + ? 0 + : (image_width * vo_panscan_x / + (vo_dwidth + vo_panscan_x)), image_height, draw_alpha_fnc); }