]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Initialize fr->cacheable to make valgrind happy
authorTerry Wilson <twilson@digium.com>
Wed, 9 Apr 2008 01:34:25 +0000 (01:34 +0000)
committerTerry Wilson <twilson@digium.com>
Wed, 9 Apr 2008 01:34:25 +0000 (01:34 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@113596 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index b6d683204056732926779d3e85df9f243957e330..2cd3a9ad23c30ffdc49559c661f6eee80e67fd52 100644 (file)
@@ -8295,6 +8295,7 @@ retryowner2:
                        ast_log(LOG_DEBUG, "Received out of order packet... (type=%d, subclass %d, ts = %d, last = %d)\n", f.frametype, f.subclass, fr->ts, iaxs[fr->callno]->last);
                fr->outoforder = -1;
        }
+       fr->cacheable = ((f.frametype == AST_FRAME_VOICE) || (f.frametype == AST_FRAME_VIDEO));
        duped_fr = iaxfrdup2(fr);
        if (duped_fr) {
                schedule_delivery(duped_fr, updatehistory, 0, &fr->ts);