summaryrefslogtreecommitdiff
path: root/libavcodec/vda.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vda.c')
-rw-r--r--libavcodec/vda.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vda.c b/libavcodec/vda.c
index 3c03dcd3e0..d962c61a3b 100644
--- a/libavcodec/vda.c
+++ b/libavcodec/vda.c
@@ -226,6 +226,8 @@ int ff_vda_destroy_decoder(struct vda_context *vda_ctx)
pthread_mutex_destroy(&vda_ctx->queue_mutex);
+ av_freep(&vda_ctx->priv_bitstream);
+
if (kVDADecoderNoErr != status)
return status;