[MPlayer-cvslog] r26321 - trunk/mencoder.c
reimar
subversion at mplayerhq.hu
Thu Apr 3 18:57:16 CEST 2008
Author: reimar
Date: Thu Apr 3 18:57:16 2008
New Revision: 26321
Log:
Better mark variables that are changed by the signal handler as volatile
Modified:
trunk/mencoder.c
Modified: trunk/mencoder.c
==============================================================================
--- trunk/mencoder.c (original)
+++ trunk/mencoder.c Thu Apr 3 18:57:16 2008
@@ -345,8 +345,8 @@ static int dec_audio(sh_audio_t *sh_audi
// so audio can be cut correctly. -1 if there is no limit.
static float stop_time(demuxer_t* demuxer, muxer_stream_t* mux_v);
-static int at_eof=0;
-static int interrupted=0;
+static volatile int at_eof=0;
+static volatile int interrupted=0;
static void exit_sighandler(int x){
at_eof=1;
More information about the MPlayer-cvslog
mailing list