From e8aa17a95d28fd79c315cbda3644afd471d83ad4 Mon Sep 17 00:00:00 2001 From: mogorman Date: Mon, 18 Dec 2006 21:20:10 +0000 Subject: John Sloan's fix for 64bit mode, but really I don't see how this code had worked before.... git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1737 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zttranscode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zttranscode.c') diff --git a/zttranscode.c b/zttranscode.c index 58bdcef..896f380 100644 --- a/zttranscode.c +++ b/zttranscode.c @@ -270,9 +270,9 @@ static int do_reset(struct zt_transcoder_channel **ztc) origztc = (*ztc); (*ztc) = newztc; (*ztc)->tch = origztc->tch; - origztc->tch = NULL; (*ztc)->flags |= (origztc->flags & ~(ZT_TC_FLAG_TRANSIENT)); ztc_release(origztc); + origztc->tch = NULL; } /* Actually reset the transcoder channel */ -- cgit v1.2.3