diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-29 08:49:45 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-30 02:58:52 +0200 |
commit | c1d3b4705e2a6102416f5c53e83ad57ac6388390 (patch) | |
tree | 7a1b6dc389268d03b538ed55b3d456de6bfb7180 /libavcodec | |
parent | 35b478de5b7bb885fd61b339c97f20471148e166 (diff) | |
download | ffmpeg-c1d3b4705e2a6102416f5c53e83ad57ac6388390.tar.gz |
avcodec/mss3: Remove unnecessary free of unallocated frame
The frame will only be allocated a few lines below.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mss3.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mss3.c b/libavcodec/mss3.c index 113af5ba37..a301675ec2 100644 --- a/libavcodec/mss3.c +++ b/libavcodec/mss3.c @@ -844,7 +844,6 @@ static av_cold int mss3_decode_init(AVCodecContext *avctx) b_width * b_height); if (!c->dct_coder[i].prev_dc) { av_log(avctx, AV_LOG_ERROR, "Cannot allocate buffer\n"); - av_frame_free(&c->pic); while (i >= 0) { av_freep(&c->dct_coder[i].prev_dc); i--; |