Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-23 13:13:26 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-23 22:34:02 +0300
commitdf000208eaa413bd27a0645aa71e3772d018ceba (patch)
tree628351457d78b354ec9ecf9e6c6518aff864ff5a
parent021fe2603f68a2684b7b2b19ea0eab07f26828c1 (diff)
libavcodec/libvpxenc: Don't free user-provided AVPacketrelease/3.0
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 26b45096906097a73ba587bf3b98dada4e795224)
-rw-r--r--libavcodec/libvpxenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index 8992497c70..31695d1276 100644
--- a/libavcodec/libvpxenc.c
+++ b/libavcodec/libvpxenc.c
@@ -792,7 +792,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);