summaryrefslogtreecommitdiff
path: root/src/libw32dll/w32codec.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-21 17:34:23 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-21 17:34:23 +0000
commit436b928915f56a8bc56fc7065800fad7e474e158 (patch)
tree9d0680a8099f22e639058ce366e79032129f13f7 /src/libw32dll/w32codec.c
parenta2c0482e17a5d1d0ea99d06b81e94c0e7b5cb4e2 (diff)
downloadxine-lib-436b928915f56a8bc56fc7065800fad7e474e158.tar.gz
xine-lib-436b928915f56a8bc56fc7065800fad7e474e158.tar.bz2
solaris and stability patches provided by Juergen Keil
CVS patchset: 211 CVS date: 2001/06/21 17:34:23
Diffstat (limited to 'src/libw32dll/w32codec.c')
-rw-r--r--src/libw32dll/w32codec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index 924618f2f..a74b843fa 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: w32codec.c,v 1.7 2001/06/18 12:56:28 guenter Exp $
+ * $Id: w32codec.c,v 1.8 2001/06/21 17:34:23 guenter Exp $
*
* routines for using w32 codecs
*
@@ -239,8 +239,9 @@ static void w32v_init_codec (w32v_decoder_t *this) {
this->size = 0;
if (!( (this->video_out->get_capabilities (this->video_out)) & VO_CAP_YUY2)) {
- printf ("video output driver doesn't support YUY2 !!");
+ printf ("video output driver doesn't support YUY2 !!\n");
this->decoder_ok = 0;
+ return;
}
this->our_out_buffer = malloc (this->o_bih.biSizeImage);