]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 5 Jun 2009 19:04:07 +0000 (19:04 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 5 Jun 2009 19:04:07 +0000 (19:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13644 d0543943-73ff-0310-b7d9-9358b9ac24b2

patches/tmp.diff

index c4e6031b04e54faeb6eca21c9754bda8bb1e7783..75d761f48b48b3c49d5c9f539dc745b2bdd554b9 100644 (file)
@@ -179,3 +179,16 @@ Index: src/include/switch_core.h
  
  /*!
    \brief Flush the read and write buffers for the bug
+Index: src/mod/formats/mod_shout/mod_shout.c
+===================================================================
+--- src/mod/formats/mod_shout/mod_shout.c      (revision 13639)
++++ src/mod/formats/mod_shout/mod_shout.c      (working copy)
+@@ -1159,7 +1159,7 @@
+               break;
+       case SWITCH_ABC_TYPE_READ_PING:
+               if (buffer) {
+-                      if (switch_core_media_bug_read(bug, &frame) == SWITCH_STATUS_SUCCESS) {
++                      if (switch_core_media_bug_read(bug, &frame, SWITCH_TRUE) == SWITCH_STATUS_SUCCESS) {
+                               switch_buffer_lock(buffer);
+                               switch_buffer_write(buffer, frame.data, frame.datalen);
+                               switch_buffer_unlock(buffer);