diff avformat.h @ 2835:b158768c5352 libavformat

Add a av_close_input_stream function
author reimar
date Wed, 19 Dec 2007 14:07:13 +0000
parents 63fda6ba2173
children e043e56e6e6c
line wrap: on
line diff
--- a/avformat.h	Wed Dec 19 11:31:36 2007 +0000
+++ b/avformat.h	Wed Dec 19 14:07:13 2007 +0000
@@ -662,6 +662,12 @@
 int av_read_pause(AVFormatContext *s);
 
 /**
+ * Free a AVFormatContext allocated by av_open_input_stream.
+ * @param s context to free
+ */
+void av_close_input_stream(AVFormatContext *s);
+
+/**
  * Close a media file (but not its codecs).
  *
  * @param s media file handle