« Previous | Next » 

Revision 81bd4119

ID81bd4119652ce3911c6604f3421a46c677d6c10f
Parent 29db7c3a
Child 7820147e

Added by Stefano Sabatini almost 10 years ago

In av_close_input_stream(), flush the packet queue before to actually
close the stream.

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.

Originally committed as revision 26237 to svn://svn.ffmpeg.org/ffmpeg/trunk

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences