commit | 86e7209601fb352568aa18a17877c48851b11286 | [log] [tgz] |
---|---|---|
author | Deva Ramasubramanian <dramasub@codeaurora.org> | Tue Oct 08 20:52:43 2013 -0700 |
committer | Deva Ramasubramanian <dramasub@codeaurora.org> | Tue Oct 08 20:57:51 2013 -0700 |
tree | f8820b8595a2033791b073f2a6e7968cd56656b1 | |
parent | 50de6e1577e776a46172694bdf681cddfa670089 [diff] |
mm-video: vidc: When freeing output buffer, clear pBuffer pBuffer can potentially point to a stale OMX_BUFFERHEADERTYPE after free_output_buffers is called. Normally, this doesn't cause a problem. But on dynamic port reconfig, the stale buffer is assigned to pPrevBuff in the double buffering mechanism and causes the stale output buffer to be handed to the component. Change-Id: Ic15df7be758509805aaf4827999fcb221ccbcf24