Alex! Never write bottlenecks, ok?

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4460 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nick 2002-02-01 10:20:00 +00:00
parent e815c5f44c
commit 68daf88d48
1 changed files with 3 additions and 2 deletions

View File

@ -202,7 +202,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
image_height = height;
image_width = width;
image_format = format;
if (IMGFMT_IS_RGB(format))
{
image_depth = IMGFMT_RGB_DEPTH(format);
@ -225,9 +225,10 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
image_depth = 16;
break;
default:
image_depth = 16;
mp_msg(MSGT_VO, MSGL_FATAL, "Unknown image format: %s\n",
vo_format_name(format));
return(-1);
break;
}
if (X_already_started)