diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-10-06 07:01:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-06 20:00:59 +0200 |
commit | 670fd3b0ec8f81f7cb69932715562ddcd55096ec (patch) | |
tree | 327d97699b4d0da4c98140e4ef38a220a2c70bfe /libavformat/hevc.c | |
parent | 5f758c31f9af6550a657ec2785c8c34838924e76 (diff) | |
download | ffmpeg-670fd3b0ec8f81f7cb69932715562ddcd55096ec.tar.gz |
avformat/mpjpegdec: 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.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/hevc.c')
0 files changed, 0 insertions, 0 deletions