avformat: Don't suggest deprecated function
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
committed by
James Almer
parent
80dacbedba
commit
a2572e3c67
@@ -175,8 +175,8 @@
|
|||||||
* Otherwise, if AVPacket.buf is NULL, the packet data is backed by a
|
* Otherwise, if AVPacket.buf is NULL, the packet data is backed by a
|
||||||
* static storage somewhere inside the demuxer and the packet is only valid
|
* static storage somewhere inside the demuxer and the packet is only valid
|
||||||
* until the next av_read_frame() call or closing the file. If the caller
|
* until the next av_read_frame() call or closing the file. If the caller
|
||||||
* requires a longer lifetime, av_dup_packet() will make an av_malloc()ed copy
|
* requires a longer lifetime, av_packet_make_refcounted() will ensure that
|
||||||
* of it.
|
* the data is reference counted, copying the data if necessary.
|
||||||
* In both cases, the packet must be freed with av_packet_unref() when it is no
|
* In both cases, the packet must be freed with av_packet_unref() when it is no
|
||||||
* longer needed.
|
* longer needed.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user