h264-encoder: Clean up current_packet in destroy
parent
b8122725e2
commit
dc82b3f29d
|
@ -568,6 +568,7 @@ void h264_encoder_destroy(struct h264_encoder* self)
|
|||
return;
|
||||
}
|
||||
|
||||
vec_destroy(&self->current_packet);
|
||||
av_buffer_unref(&self->hw_frames_ctx);
|
||||
avcodec_free_context(&self->codec_ctx);
|
||||
av_buffer_unref(&self->hw_device_ctx);
|
||||
|
|
Loading…
Reference in New Issue