[FFmpeg-devel] [PATCH 2/2] avformat/aviobuf: Honor avio_open[2] documentation

Michael Niedermayer michael at niedermayer.cc
Tue Jan 7 03:54:06 EET 2020


On Mon, Jan 06, 2020 at 03:51:49PM +0100, Andreas Rheinhardt wrote:
> The documentation of both avio_open() as well as avio_open2() states
> that on failure, the pointer to an AVIOContext given to this function
> (via a pointer to a pointer to an AVIOContext) will be set to NULL. Yet
> it didn't happen upon failure of ffurl_open_whitelist() or when allocating
> the internal buffer failed. This commit changes this.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/aviobuf.c | 2 ++
>  1 file changed, 2 insertions(+)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200107/fd965a79/attachment.sig>


More information about the ffmpeg-devel mailing list