diff options
Diffstat (limited to 'zttranscode.c')
-rw-r--r-- | zttranscode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zttranscode.c b/zttranscode.c index 862c503..0ce0400 100644 --- a/zttranscode.c +++ b/zttranscode.c @@ -272,9 +272,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 */ |