[FFmpeg-devel] [PATCH] In av_close_input_stream(), flush the packet queue before to actually close the stream.
Wed Jan 5 17:35:05 CET 2011
On Tue, Jan 04, 2011 at 07:17:04PM +0100, Stefano Sabatini wrote:
> This way the flushed packets can still reference the still unclosed
> format context.
> In particular this fixes a spurious error issued when closing the
> video4linux2 buffer in mmap_release_buffer(), which tries to access
> the file descriptor of an already closed file.
> libavformat/utils.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
patch should be ok if it doesnt cause new valgrind errors in teh reg tests
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel