# HG changeset patch # User ranma # Date 1322571765 0 # Node ID 70ac8d21e6cae8b045a7717282191f5fb1d18db6 # Parent e85a6a143edfd0d0db3e423955ecc22f3a5a7621 edl_seek_type is used as CONF_TYPE_FLAG, which is a 32bit-Type (fixes possible memory corruption). diff -r e85a6a143edf -r 70ac8d21e6ca mencoder.c --- 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"