diff options
author | Gregory Maxwell <greg@xiph.org> | 2013-10-28 11:40:00 -0700 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2013-10-28 11:40:00 -0700 |
commit | 1750f568d8ea60b1aabcbc4b6b985fc5f5d5eaf0 (patch) | |
tree | 4898dae7aba08049601fe3dc110026768303bb9d /src/opus_demo.c | |
parent | 9c23f5cdca89b9ef7af158d19f436360bb404837 (diff) | |
download | opus-1750f568d8ea60b1aabcbc4b6b985fc5f5d5eaf0.tar.gz |
Remove now-unused check_decoder_option.
Diffstat (limited to 'src/opus_demo.c')
-rw-r--r-- | src/opus_demo.c | 9 |
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) |