---

Fixed function name as noticed by Anton.

 libavformat/avformat.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 5d224c4..1399de0 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1212,7 +1212,7 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat 
**fmt,
 
 /**
  * Open an input stream and read the header. The codecs are not opened.
- * The stream must be closed with av_close_input_file().
+ * The stream must be closed with avformat_close_input().
  *
  * @param ps Pointer to user-supplied AVFormatContext (allocated by 
avformat_alloc_context).
  *           May be a pointer to NULL, in which case an AVFormatContext is 
allocated by this
@@ -1294,8 +1294,8 @@ int av_find_best_stream(AVFormatContext *ic,
  * information possible for decoding.
  *
  * If pkt->buf is NULL, then the packet is valid until the next
- * av_read_frame() or until av_close_input_file(). Otherwise the packet is 
valid
- * indefinitely. In both cases the packet must be freed with
+ * av_read_frame() or until avformat_close_input(). Otherwise the packet
+ * is valid indefinitely. In both cases the packet must be freed with
  * av_free_packet when it is no longer needed. For video, the packet contains
  * exactly one frame. For audio, it contains an integer number of frames if 
each
  * frame has a known fixed size (e.g. PCM or ADPCM data). If the audio frames
-- 
1.7.9.5

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to