[MPlayer-cvslog] r37136 - trunk/libmpdemux/demux_rawdv.c

reimar subversion at mplayerhq.hu
Sun Apr 6 20:42:45 CEST 2014


Author: reimar
Date: Sun Apr  6 20:42:45 2014
New Revision: 37136

Log:
rawdv: check for dv_decoder_new failure.

Modified:
   trunk/libmpdemux/demux_rawdv.c

Modified: trunk/libmpdemux/demux_rawdv.c
==============================================================================
--- trunk/libmpdemux/demux_rawdv.c	Sun Apr  6 20:37:42 2014	(r37135)
+++ trunk/libmpdemux/demux_rawdv.c	Sun Apr  6 20:42:45 2014	(r37136)
@@ -157,6 +157,8 @@ static demuxer_t* demux_open_rawdv(demux
 
    //read params from this frame
    dv_decoder=dv_decoder_new(TRUE,TRUE,FALSE);
+   if (!dv_decoder)
+	   goto err_out;
    dv_decoder->quality=DV_QUALITY_BEST;
 
    if (dv_parse_header(dv_decoder, dv_frame) == -1)


More information about the MPlayer-cvslog mailing list