projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c6a41
)
[media] coda: set bitstream end flag in coda_release
author
Philipp Zabel
<
[email protected]
>
Wed, 8 Oct 2014 16:09:11 +0000
(13:09 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 28 Oct 2014 17:40:37 +0000
(15:40 -0200)
This should fix CODA crashes due to timeouts when stopping
the decoding process with SIGINT.
Signed-off-by: Philipp Zabel <
[email protected]
>
Signed-off-by: Kamil Debski <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/platform/coda/coda-common.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/coda/coda-common.c
b/drivers/media/platform/coda/coda-common.c
index 151e45b62547aece049dc8e23cf6c139b6bc9ff3..ffb99442ac6ab7bc7e1f5d744d55b1464c5aab5a 100644
(file)
--- a/
drivers/media/platform/coda/coda-common.c
+++ b/
drivers/media/platform/coda/coda-common.c
@@
-1695,6
+1695,9
@@
static int coda_release(struct file *file)
debugfs_remove_recursive(ctx->debugfs_entry);
+ if (ctx->inst_type == CODA_INST_DECODER)
+ coda_bit_stream_end_flag(ctx);
+
/* If this instance is running, call .job_abort and wait for it to end */
v4l2_m2m_ctx_release(ctx->fh.m2m_ctx);