ref: 7cd466427902c631c810aeffd7879bb183542b07
parent: 5e36e19a156d71a3c07cab90c398e0ec922e7887
author: Jean-Marc Valin <[email protected]>
date: Tue Aug 16 05:27:25 EDT 2011
Removes useless test in test_opus
--- a/src/test_opus.c
+++ b/src/test_opus.c
@@ -238,12 +238,6 @@
MAX_PACKET);
return 1;
}
- if (bitrate_bps < 0 || bitrate_bps*frame_size/sampling_rate > max_payload_bytes*8)
- {
- fprintf (stderr, "bytes per packet must be between 0 and %d\n",
- max_payload_bytes);
- return 1;
- }
inFile = argv[argc-2];
fin = fopen(inFile, "rb");