Mercurial > mplayer.hg
changeset 13322:078e32bc2f59
Added one more error check. Forgot it last time (grrr :) ).
author | ivo |
---|---|
date | Sun, 12 Sep 2004 01:35:41 +0000 |
parents | fb8806aa3f80 |
children | 5177dc2b4aaf |
files | libvo/vo_jpeg.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_jpeg.c Sat Sep 11 22:54:33 2004 +0000 +++ b/libvo/vo_jpeg.c Sun Sep 12 01:35:41 2004 +0000 @@ -493,6 +493,7 @@ /* 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,