From 65a960f3e6220901204b67877b6d902d244c30f9 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 11 Sep 2003 13:46:56 +0000 Subject: [PATCH] When splitting the display_reader has to be reset - otherwise it would point to a deleted reader. --- src/mkvmerge.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mkvmerge.cpp b/src/mkvmerge.cpp index 8745c3823..7225f775e 100644 --- a/src/mkvmerge.cpp +++ b/src/mkvmerge.cpp @@ -1633,6 +1633,8 @@ static void init_globals() { default_tracks[0] = 0; default_tracks[1] = 0; default_tracks[2] = 0; + display_counter = 1; + display_reader = NULL; } static void destroy_readers() {