[Mplayer-cvslog] CVS: main/libvo vo_jpeg.c,1.21,1.22
Ivo van Poorten CVS
syncmail at mplayerhq.hu
Sun Sep 12 03:35:43 CEST 2004
CVS change done by Ivo van Poorten CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv29044/libvo
Modified Files:
vo_jpeg.c
Log Message:
Added one more error check. Forgot it last time (grrr :) ).
Index: vo_jpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_jpeg.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- vo_jpeg.c 11 Sep 2004 21:15:13 -0000 1.21
+++ vo_jpeg.c 12 Sep 2004 01:35:41 -0000 1.22
@@ -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,
More information about the MPlayer-cvslog
mailing list