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 20:25:11 +0200 |
commit | 26b45096906097a73ba587bf3b98dada4e795224 (patch) | |
tree | 204d1dd922259d93a0a5a93981beb20cf64b3142 | |
parent | 7e6941e185649409f44fb5aa31207bd7b00d23cd (diff) | |
download | ffmpeg-26b45096906097a73ba587bf3b98dada4e795224.tar.gz |
libavcodec/libvpxenc: Don't free user-provided AVPacket
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-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 60a858853d..05bcc303d1 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1148,7 +1148,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); |