[MPlayer-cvslog] r36671 - trunk/libmpdemux/demux_demuxers.c
reimar
subversion at mplayerhq.hu
Mon Jan 20 23:08:40 CET 2014
Author: reimar
Date: Mon Jan 20 23:08:40 2014
New Revision: 36671
Log:
demux_demuxers: check correct variable for NULL.
Modified:
trunk/libmpdemux/demux_demuxers.c
Modified: trunk/libmpdemux/demux_demuxers.c
==============================================================================
--- trunk/libmpdemux/demux_demuxers.c Mon Jan 20 23:08:39 2014 (r36670)
+++ trunk/libmpdemux/demux_demuxers.c Mon Jan 20 23:08:40 2014 (r36671)
@@ -51,7 +51,7 @@ demuxer_t* new_demuxers_demuxer(demuxer
ret->video = vd->video;
ret->audio = ad->audio;
ret->sub = sd->sub;
- if (sd && sd != vd && sd != ad) sd->sub->non_interleaved = 1;
+ if (sd->sub && sd != vd && sd != ad) sd->sub->non_interleaved = 1;
// without these, demux_demuxers_fill_buffer will never be called,
// but they break the demuxer-specific code in video.c
More information about the MPlayer-cvslog
mailing list