summaryrefslogtreecommitdiff
path: root/src/opus_demo.c
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2013-10-28 11:40:00 -0700
committerGregory Maxwell <greg@xiph.org>2013-10-28 11:40:00 -0700
commit1750f568d8ea60b1aabcbc4b6b985fc5f5d5eaf0 (patch)
tree4898dae7aba08049601fe3dc110026768303bb9d /src/opus_demo.c
parent9c23f5cdca89b9ef7af158d19f436360bb404837 (diff)
downloadopus-1750f568d8ea60b1aabcbc4b6b985fc5f5d5eaf0.tar.gz
Remove now-unused check_decoder_option.
Diffstat (limited to 'src/opus_demo.c')
-rw-r--r--src/opus_demo.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/opus_demo.c b/src/opus_demo.c
index 5a8fb79a..ea8b7a7e 100644
--- a/src/opus_demo.c
+++ b/src/opus_demo.c
@@ -79,15 +79,6 @@ static opus_uint32 char_to_int(unsigned char ch[4])
| ((opus_uint32)ch[2]<< 8) | (opus_uint32)ch[3];
}
-static void check_decoder_option(int encode_only, const char *opt)
-{
- if (encode_only)
- {
- fprintf(stderr, "option %s is only for decoding\n", opt);
- exit(EXIT_FAILURE);
- }
-}
-
static void check_encoder_option(int decode_only, const char *opt)
{
if (decode_only)