mirror of https://github.com/mpv-player/mpv
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:
parent
ef58c6cabd
commit
f9866da609
|
@ -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 is not set by an option, resort to default of "." */
|
||||||
if (!jpeg_outdir) {
|
if (!jpeg_outdir) {
|
||||||
jpeg_outdir = strdup(".");
|
jpeg_outdir = strdup(".");
|
||||||
|
if (!jpeg_outdir) jpeg_malloc_failed();
|
||||||
}
|
}
|
||||||
|
|
||||||
mp_msg(MSGT_VO, MSGL_INFO, "%s: %s\n", info.short_name,
|
mp_msg(MSGT_VO, MSGL_INFO, "%s: %s\n", info.short_name,
|
||||||
|
|
Loading…
Reference in New Issue