|
|
|
@ -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 |
|
|
|
|