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
This commit is contained in:
ivo 2004-09-12 01:35:41 +00:00
parent ef58c6cabd
commit f9866da609
1 changed files with 1 additions and 0 deletions

View File

@ -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,