]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add assert
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 16 Aug 2006 00:54:38 +0000 (00:54 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 16 Aug 2006 00:54:38 +0000 (00:54 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2304 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr.c

index cbb449d1def3a37059e5fe1cdf4be9c2c9e952c4..39c8dc3ec4bd10a0b5cf63803f3f9b7be0a60c1a 100644 (file)
@@ -439,7 +439,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
                                          comment,
                                          date);
 
-
+       assert(read_codec != NULL);
        interval = read_codec->implementation->microseconds_per_frame / 1000;