# HG changeset patch # User nick # Date 1012558800 0 # Node ID 71b864031c3ff2e69c8a5bf3e8c1193efea74308 # Parent 1e702ff28c773156a8e5ec287e74f1bdb17367b0 Alex! Never write bottlenecks, ok? diff -r 1e702ff28c77 -r 71b864031c3f libvo/vo_xvidix.c --- a/libvo/vo_xvidix.c Fri Feb 01 10:19:43 2002 +0000 +++ b/libvo/vo_xvidix.c Fri Feb 01 10:20:00 2002 +0000 @@ -202,7 +202,7 @@ image_height = height; image_width = width; image_format = format; - + if (IMGFMT_IS_RGB(format)) { image_depth = IMGFMT_RGB_DEPTH(format); @@ -225,9 +225,10 @@ 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)