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_api.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index 486712d9..f4ef4952 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -35,11 +35,6 @@ #include -/* valid values for streamTypes in the InputPlugin struct: */ -#define INPUT_PLUGIN_STREAM_FILE 0x01 -#define INPUT_PLUGIN_STREAM_URL 0x02 - - enum decoder_command { DECODE_COMMAND_NONE = 0, DECODE_COMMAND_START, @@ -94,9 +89,6 @@ struct decoder_plugin { */ struct tag *(*tag_dup)(const char *file); - /* one or more of the INPUT_PLUGIN_STREAM_* values OR'd together */ - unsigned char stream_types; - /* last element in these arrays must always be a NULL: */ const char *const*suffixes; const char *const*mime_types; -- cgit v1.2.3