[asterisk-scf-commits] asterisk-scf/integration/mediaformatgeneric.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Sun Jul 3 14:27:09 CDT 2011


branch "master" has been updated
       via  31bbce019ddaca8bb9e56dc2176d335f0d387322 (commit)
      from  0c84620d7aef579d4f223044b08428fdde7a2b21 (commit)

Summary of changes:
 src/MediaFormatGeneric.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 31bbce019ddaca8bb9e56dc2176d335f0d387322
Author: Joshua Colp <jcolp at digium.com>
Date:   Sun Jul 3 16:27:04 2011 -0300

    Fix a silly regression that I introduced when I was exploring some comparison stuff.

diff --git a/src/MediaFormatGeneric.cpp b/src/MediaFormatGeneric.cpp
index 94540cd..c54e8f6 100644
--- a/src/MediaFormatGeneric.cpp
+++ b/src/MediaFormatGeneric.cpp
@@ -137,6 +137,8 @@ FormatPtr SDPDescriptorServiceImpl::getNamedFormat(const std::string& name, int
     {
         return 0;
     }
+
+    return format->second;
 }
 
 FormatPtr SDPDescriptorServiceImpl::getDescribedFormat(const SDPDescriptorPtr& descriptor, const Ice::Current&)

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/mediaformatgeneric.git



More information about the asterisk-scf-commits mailing list