From 245f41bb7e29170635726aeda1920cdd911958a8 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Fri, 29 Jul 2016 19:31:54 +0200
Subject: [PATCH] decoder/ffmpeg: fix endless recursion in FfmpegScanStream()

Was accidently added by commit cafc266e0
---
 src/decoder/plugins/FfmpegDecoderPlugin.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
index 8926ec9bc..dd411a4e0 100644
--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
+++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
@@ -702,7 +702,7 @@ FfmpegScanStream(AVFormatContext &format_context,
 		FfmpegScanDictionary(format_context.streams[idx]->metadata,
 				     &handler, handler_ctx);
 
-	return FfmpegScanStream(format_context, handler, handler_ctx);
+	return true;
 }
 
 static bool