From 2003d1f80e6579cba8a8f50cfbcdff342e575c82 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Fri, 2 Sep 2016 17:54:49 +0200 Subject: [PATCH] Fixed crash in FLV input with some single-track files --- src/input/input_flv.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/input/input_flv.cpp b/src/input/input_flv.cpp index 6b0d9b59..66aa218b 100644 --- a/src/input/input_flv.cpp +++ b/src/input/input_flv.cpp @@ -91,7 +91,8 @@ namespace Mist { while (!feof(inFile) && !FLV::Parse_Error){ if (tmpTag.FileLoader(inFile)){ if ( !selectedTracks.count(tmpTag.getTrackID())){ - return getNext(); + lastBytePos = ftell(inFile); + continue; } break; }