mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/pthread_frame: Fix leak of coded side data
Happens in the mov-elst-ends-betn-b-and-i and mov-ibi-elst-starts-b FATE tests with frame-threading. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8cdf1bae94
commit
277f051ff6
@ -731,6 +731,8 @@ void ff_frame_thread_free(AVCodecContext *avctx, int thread_count)
|
||||
av_packet_free(&ctx->internal->last_pkt_props);
|
||||
av_freep(&ctx->internal);
|
||||
av_buffer_unref(&ctx->hw_frames_ctx);
|
||||
av_frame_side_data_free(&ctx->decoded_side_data,
|
||||
&ctx->nb_decoded_side_data);
|
||||
}
|
||||
|
||||
av_frame_free(&p->frame);
|
||||
|
Loading…
Reference in New Issue
Block a user