aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/webm_chunk.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-06 15:51:49 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-20 03:59:36 +0200
commite13e36f3224b2f90d604b457d25337655715bef7 (patch)
tree7fe77090aa0212926244f22bb4b04daa26f901f2 /libavformat/webm_chunk.c
parentd74e112ad8c236055c1232d3a14fd5b81d521a61 (diff)
downloadffmpeg-e13e36f3224b2f90d604b457d25337655715bef7.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> (cherry picked from commit 220846f74fc33fc037147e54535bcaef8caad28b)
Diffstat (limited to 'libavformat/webm_chunk.c')
0 files changed, 0 insertions, 0 deletions