changeset 4459:71b864031c3f

Alex! Never write bottlenecks, ok?
author nick
date Fri, 01 Feb 2002 10:20:00 +0000
parents 1e702ff28c77
children 7de7c849dccf
files libvo/vo_xvidix.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)