diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-28 15:31:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-29 00:03:28 +0100 |
commit | ff5c8e57e756e5b80bc32ea469495a9a89c012b6 (patch) | |
tree | 6f97cde1429a3f742a371499355aaad0f008b615 /tests/fate/alac.mak | |
parent | 16fa513392adbdd786776d12258f39ad81149a19 (diff) | |
download | ffmpeg-ff5c8e57e756e5b80bc32ea469495a9a89c012b6.tar.gz |
avformat/vividas: Avoid allocation of AVIOContext
Put an AVIOContext whose lifetime doesn't extend beyond the function where
it is allocated on the stack instead of allocating and freeing it. This
also avoids the need to free it, which in this case fixes possible
memleaks on error.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/fate/alac.mak')
0 files changed, 0 insertions, 0 deletions