changeset 34278:70ac8d21e6ca

edl_seek_type is used as CONF_TYPE_FLAG, which is a 32bit-Type (fixes possible memory corruption).
author ranma
date Tue, 29 Nov 2011 13:02:45 +0000
parents e85a6a143edf
children b71060f1a007
files mencoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Tue Nov 29 05:05:16 2011 +0000
+++ b/mencoder.c	Tue Nov 29 13:02:45 2011 +0000
@@ -238,7 +238,7 @@
 static edl_record_ptr next_edl_record = NULL; ///< only for traversing edl_records
 static short edl_muted; ///< Stores whether EDL is currently in muted mode.
 static short edl_seeking; ///< When non-zero, stream is seekable.
-static short edl_seek_type; ///< When non-zero, frames are discarded instead of seeking.
+static int edl_seek_type; ///< When non-zero, frames are discarded instead of seeking.
 
 /* This header requires all the global variable declarations. */
 #include "cfg-mencoder.h"