diff --git a/src/input/r_matroska.cpp b/src/input/r_matroska.cpp index 41653a061..b5641f2c5 100644 --- a/src/input/r_matroska.cpp +++ b/src/input/r_matroska.cpp @@ -1771,6 +1771,7 @@ kax_reader_c::read(generic_packetizer_c *, upper_lvl_el = 0; l1 = saved_l1; saved_l1 = NULL; + duration = NULL; try { while ((l1 != NULL) && (upper_lvl_el <= 0)) {