mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-16 11:47:04 +00:00
libavcodec/libvpxenc: Don't free user-provided AVPacket
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 26b45096906097a73ba587bf3b98dada4e795224)
This commit is contained in:
parent
021fe2603f
commit
df000208ea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user