Revision: 17860
Author:   oleg.kulikoff
Date:     Mon Apr 11 06:02:56 2011
Log:      ssue 2494:     RTP channel tests with transcoding
http://code.google.com/p/mobicents/source/detail?r=17860

Modified:
/trunk/servers/media/spi/src/main/java/org/mobicents/media/server/spi/format/Formats.java

=======================================
--- /trunk/servers/media/spi/src/main/java/org/mobicents/media/server/spi/format/Formats.java Wed Mar 9 05:40:24 2011 +++ /trunk/servers/media/spi/src/main/java/org/mobicents/media/server/spi/format/Formats.java Mon Apr 11 06:02:56 2011
@@ -130,6 +130,7 @@
      * @param intersection the resulting collection.
      */
     public void intersection(Formats other, Formats intersection) {
+        intersection.list.clear();
         for (Format f1 : list) {
             for (Format f2 : other.list) {
                 if (f1.matches(f2)) intersection.list.add(f2);

Reply via email to