diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-23 12:13:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-23 21:02:30 +0200 |
commit | 29584733e6de3e1f901761b19dccddb533461ccb (patch) | |
tree | e958f534c38e5f2025a56a0bb5414e4c51948068 /libavcodec/libvpxenc.c | |
parent | 526628058e0339971c5b520659d721e619830623 (diff) | |
download | ffmpeg-29584733e6de3e1f901761b19dccddb533461ccb.tar.gz |
libavcodec/libvpxenc: Don't free user-provided AVPacketrelease/3.1
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 26b45096906097a73ba587bf3b98dada4e795224)
Diffstat (limited to 'libavcodec/libvpxenc.c')
-rw-r--r-- | libavcodec/libvpxenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 4ea932d779..542add4ceb 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -805,7 +805,6 @@ FF_ENABLE_DEPRECATION_WARNINGS cx_frame->sz_alpha + 8); if(!side_data) { av_packet_unref(pkt); - av_free(pkt); return AVERROR(ENOMEM); } AV_WB64(side_data, 1); |