diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-06 15:51:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-07 02:44:05 +0100 |
commit | 220846f74fc33fc037147e54535bcaef8caad28b (patch) | |
tree | 5467e9f31ce2a18e4649b767d5c613b445bc5664 /libavformat/qcp.c | |
parent | 10f0332fd5f517eba8deab21d115da3f5c800f3a (diff) | |
download | ffmpeg-220846f74fc33fc037147e54535bcaef8caad28b.tar.gz |
avformat/aviobuf: Honor avio_open[2] documentation
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@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/qcp.c')
0 files changed, 0 insertions, 0 deletions