Message ID | 20200523104413.10023-3-andreas.rheinhardt@gmail.com |
---|---|
State | Accepted |
Commit | 26b45096906097a73ba587bf3b98dada4e795224 |
Headers | show |
Series | [FFmpeg-devel,1/3] avcodec/libopusenc: Don't free user-provided AVPacket | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
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);
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> --- libavcodec/libvpxenc.c | 1 - 1 file changed, 1 deletion(-)