freebsd-ports/multimedia/mplex/files/patch-ac
Steve Price 18d3e9c571 Make user interaction a runtime switch instead of a compiletime option.
PR:		20956
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
2000-09-05 01:36:23 +00:00

24 lines
550 B
Text

--- inptstrm.c.orig Wed May 31 08:04:11 1995
+++ inptstrm.c Mon Sep 4 18:17:45 2000
@@ -1,4 +1,5 @@
#include "main.h"
+extern int Interactive;
/*************************************************************************
MPEG Streams Kontrolle
@@ -310,6 +311,7 @@
fclose (info_file);
output_info_video (video_info);
+ if( Interactive )
ask_continue ();
}
@@ -565,6 +567,7 @@
close_bit_stream_r (&audio_bs);
fclose (info_file);
output_info_audio (audio_info);
+ if( Interactive )
ask_continue ();
}