opus_demo.c encodes void data at end of file
When the input file of samples is entirely consumed, yet another loop iteration encodes a packet from all zero data. Is there any reason for that? I was inclined to stop when the data is found void. At line 695: if (curr_read+remaining == 0) break; // 20150314 Why continue with void data if (curr_read+remaining < frame_size)