avformat/utils: Check allocations for failure
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 1 Apr 2021 16:18:13 +0000 (18:18 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 2 Apr 2021 13:27:42 +0000 (15:27 +0200)
commit543e4a194252050cf1abcded7c75e4b889e3db4f
tree98105722490ed5f66e52113179b0f93bf5d023ef
parent18bb323da437642616bfefcc1d6bc781ca0658b4
avformat/utils: Check allocations for failure

There would be leaks in case of failure.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavformat/utils.c