From 85a7d1a1487dd29705b6df5175727d565350c784 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Nov 2008 17:10:19 +0100 Subject: decoder: removed stream_types Instead of checking the stream_types bit set, we can simply check whether the methods stream_decode() and file_decode() are implemented. --- src/decoder/ffmpeg_plugin.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/decoder/ffmpeg_plugin.c') diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c index 19faeb1cd..41eb4b4d3 100644 --- a/src/decoder/ffmpeg_plugin.c +++ b/src/decoder/ffmpeg_plugin.c @@ -373,7 +373,6 @@ const struct decoder_plugin ffmpeg_plugin = { .try_decode = ffmpeg_try_decode, .stream_decode = ffmpeg_decode, .tag_dup = ffmpeg_tag, - .stream_types = INPUT_PLUGIN_STREAM_URL | INPUT_PLUGIN_STREAM_FILE, .suffixes = ffmpeg_suffixes, .mime_types = ffmpeg_mime_types }; -- cgit v1.2.3