summaryrefslogtreecommitdiff
path: root/zttranscode.c
diff options
context:
space:
mode:
authormogorman <mogorman@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-18 21:20:10 +0000
committermogorman <mogorman@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-18 21:20:10 +0000
commite8aa17a95d28fd79c315cbda3644afd471d83ad4 (patch)
tree1aa15771b0a60e437d2f328c0e14e64fb0fce37d /zttranscode.c
parent340c3343ab7670e141b5bcd0dc283dff6f7ebbf7 (diff)
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
Diffstat (limited to 'zttranscode.c')
-rw-r--r--zttranscode.c2
1 files changed, 1 insertions, 1 deletions
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 */