From f9866da609d3e431ec494436a194a83f755bcddc Mon Sep 17 00:00:00 2001 From: ivo Date: Sun, 12 Sep 2004 01:35:41 +0000 Subject: [PATCH] Added one more error check. Forgot it last time (grrr :) ). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13323 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_jpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libvo/vo_jpeg.c b/libvo/vo_jpeg.c index 1e3a92f2e6..65e1becaac 100644 --- a/libvo/vo_jpeg.c +++ b/libvo/vo_jpeg.c @@ -493,6 +493,7 @@ static uint32_t preinit(const char *arg) /* If jpeg_outdir is not set by an option, resort to default of "." */ if (!jpeg_outdir) { jpeg_outdir = strdup("."); + if (!jpeg_outdir) jpeg_malloc_failed(); } mp_msg(MSGT_VO, MSGL_INFO, "%s: %s\n", info.short_name,