mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
libavcodec/libvpxenc: Don't free user-provided AVPacket
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
7e6941e185
commit
26b4509690
@ -1148,7 +1148,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
|||||||
cx_frame->sz_alpha + 8);
|
cx_frame->sz_alpha + 8);
|
||||||
if(!side_data) {
|
if(!side_data) {
|
||||||
av_packet_unref(pkt);
|
av_packet_unref(pkt);
|
||||||
av_free(pkt);
|
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
AV_WB64(side_data, 1);
|
AV_WB64(side_data, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user