@ -1513,7 +1513,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
@ -1648,8 +1648,8 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt);
* 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 i ndefinitely . 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