From 5036368f540af93372b750fe80e1c191b409a7a9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 1 Nov 2008 14:51:41 +0100 Subject: decoder: return const decoder_plugin structs The decoder_plugin structs must never change. Don't work with non-const pointers. --- src/decoder_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder_internal.h') diff --git a/src/decoder_internal.h b/src/decoder_internal.h index 45c104651..7a36e011c 100644 --- a/src/decoder_internal.h +++ b/src/decoder_internal.h @@ -23,7 +23,7 @@ #include "pcm_utils.h" struct decoder { - struct decoder_plugin *plugin; + const struct decoder_plugin *plugin; struct pcm_convert_state conv_state; -- cgit v1.2.3