[FFmpeg-devel] [PATCH] In av_close_input_stream(), flush the packet queue before to actually close the stream.
Thu Jan 6 02:11:55 CET 2011
On date Wednesday 2011-01-05 17:35:05 +0100, Michael Niedermayer encoded:
> 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
FFmpeg = Fierce and Fanciful Mysterious Peaceless Excellent Genius
More information about the ffmpeg-devel