diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-19 14:07:13 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-19 14:07:13 +0000 |
commit | 2506fd54676003e8fce6b2b30464f3463beb3e87 (patch) | |
tree | c2b664b0f05d70def417e35befdca76e5fc38a1e /libavformat/avformat.h | |
parent | 2e9b86ac122e40686b77dab02dea3ee7d72c520a (diff) | |
download | ffmpeg-2506fd54676003e8fce6b2b30464f3463beb3e87.tar.gz |
Add a av_close_input_stream function
Originally committed as revision 11269 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index b9e83bf73e..ac41fee95f 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -662,6 +662,12 @@ int av_read_play(AVFormatContext *s); 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 |