shithub: opus-tools

Download patch

ref: d8a4fc5b2a332d0e03294c2ad170663df0482e07
parent: e1c687a1274a8d3073eea8232346acc15ff35a87
author: Ralph Giles <giles@mozilla.com>
date: Thu Aug 23 11:54:14 EDT 2012

Don't set eos on data packets.

Without this silly error, opusdec can play our output.

--- a/src/opusrtp.c
+++ b/src/opusrtp.c
@@ -114,7 +114,7 @@
   op->packet = pkt;
   op->bytes = len;
   op->b_o_s = 0;
-  op->e_o_s = 1;
+  op->e_o_s = 0;
 
   return op;
 }