diff options
Diffstat (limited to 'src/encoder/video/cuda.c')
-rw-r--r-- | src/encoder/video/cuda.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/encoder/video/cuda.c b/src/encoder/video/cuda.c index 9681418..a323940 100644 --- a/src/encoder/video/cuda.c +++ b/src/encoder/video/cuda.c @@ -62,6 +62,7 @@ static bool gsr_video_encoder_cuda_setup_context(gsr_video_encoder_cuda *self, A self->cuda_stream = cuda_device_context->stream; video_codec_context->hw_frames_ctx = av_buffer_ref(frame_context); + av_buffer_unref(&frame_context); return true; } |