On Sun, Oct 06, 2019 at 07:01:11AM +0200, Andreas Rheinhardt wrote:
> 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
> ---
> libavformat/mpjpegdec.c | 10 +++
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
---
libavformat/mpjpegdec.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/libavformat/m