Remove now-unused check_decoder_option.
authorGregory Maxwell <greg@xiph.org>
Mon, 28 Oct 2013 18:40:00 +0000 (11:40 -0700)
committerGregory Maxwell <greg@xiph.org>
Mon, 28 Oct 2013 18:40:00 +0000 (11:40 -0700)
src/opus_demo.c

index 5a8fb79..ea8b7a7 100644 (file)
@@ -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)