diff options
-rw-r--r-- | zttranscode.c | 2 |
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 */ |