aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sccdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-11-28 15:31:33 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-11-29 00:03:28 +0100
commitff5c8e57e756e5b80bc32ea469495a9a89c012b6 (patch)
tree6f97cde1429a3f742a371499355aaad0f008b615 /libavformat/sccdec.c
parent16fa513392adbdd786776d12258f39ad81149a19 (diff)
downloadffmpeg-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 'libavformat/sccdec.c')
0 files changed, 0 insertions, 0 deletions