[FFmpeg-devel] [PATCH 1/3] avformat/avformat: Update av_read_frame() documentation

Anton Khirnov anton at khirnov.net
Fri Mar 27 11:06:17 EET 2020


Quoting Andreas Rheinhardt (2019-12-01 11:05:44)
> This commit updates the documentation of av_read_frame() to match its
> actual behaviour in several ways:
> 
> 1. On success, av_read_frame() always returns refcounted packets.
> 2. It can handle uninitialized packets.
> 3. On error, it always returns clean packets.
> 
> This will allow callers to not initialize or unref unnecessarily.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---

Looks ok, don't know if the version bump is necessary since there is no
change in behaviour.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list