diff options
Diffstat (limited to 'kernel/zttranscode.c')
-rw-r--r-- | kernel/zttranscode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/zttranscode.c b/kernel/zttranscode.c index 5462da8..70ba2e1 100644 --- a/kernel/zttranscode.c +++ b/kernel/zttranscode.c @@ -179,8 +179,7 @@ static int zt_tc_release(struct inode *inode, struct file *file) /* Find a free channel on the transcoder and mark it busy. */ static inline struct zt_transcoder_channel * -get_free_channel(struct zt_transcoder *tc) - +get_free_channel(struct zt_transcoder *tc, const struct zt_transcoder_formats *fmts) { struct zt_transcoder_channel *chan; int i; @@ -225,7 +224,7 @@ __find_free_channel(struct list_head *list, const struct zt_transcoder_formats * /* We found a transcoder that can handle our formats. * Now look for an available channel. */ match = 1; - if ((chan = get_free_channel(tc))) { + if ((chan = get_free_channel(tc, fmts))) { /* transcoder tc has a free channel. In order * to spread the load among available * transcoders (when there are more than one |