mmal/codec: Clear data from buffer header before release
The data attached to the output port headers is not owned by the codec but by the vout and only temporarily attached to the codecs buffers. To avoid refcount issues within the mmal core clear the data field before releasing the buffers. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment