[MPlayer-cvslog] r35316 - trunk/libmpdemux/demux_ty_osd.c
reimar
subversion at mplayerhq.hu
Wed Oct 31 21:41:07 CET 2012
Author: reimar
Date: Wed Oct 31 21:41:07 2012
New Revision: 35316
Log:
Actually bail out when we detect that we would run
outside the array, instead of going a ahead and doing
it anyway.
Modified:
trunk/libmpdemux/demux_ty_osd.c
Modified: trunk/libmpdemux/demux_ty_osd.c
==============================================================================
--- trunk/libmpdemux/demux_ty_osd.c Wed Oct 31 21:29:28 2012 (r35315)
+++ trunk/libmpdemux/demux_ty_osd.c Wed Oct 31 21:41:07 2012 (r35316)
@@ -500,6 +500,7 @@ static void ty_AddXDSToDisplay( const ch
if ( ty_XDSAddLine == XDS_BUFFER_LENGTH )
{
mp_msg( MSGT_DEMUX, MSGL_ERR, "XDS Buffer would have been blown\n" );
+ return;
}
if ( ty_XDS_Display[ ty_XDSAddLine ] != 0 )
More information about the MPlayer-cvslog
mailing list