]> git.sesse.net Git - ffmpeg/commit
libavformat/avidec: check memory allocation
authorChris Miceli <chris@miceli.net.au>
Tue, 13 Oct 2020 03:22:25 +0000 (14:22 +1100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Oct 2020 19:11:49 +0000 (21:11 +0200)
commit0c90377a402d10279a4133034d8dd66c1809d42c
treee767e7c0ef6069d58fd4fe4bbf42da7422546055
parent6bdfea8d4b3683605f47994e491770bc0bc6ce5d
libavformat/avidec: check memory allocation

Memory allocation for AVIOContext should be checked. In this code,
all error conditions are sent to the "goto error".

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/avidec.c