fixes missing variable (#193)

Este cometimento está contido em:
Lakshmi Kumar criou e GitHub cometeu 2024-01-22 15:18:02 -05:00
1 ascendente 1393311656
cometimento 6ae9ba8be2
1 ficheiro modificado
+2
+2
Ver ficheiro
@@ -873,6 +873,8 @@ bool RocVideoDecoder::ReleaseInternalFrames() {
while (!vp_frames_q_.empty()) {
std::lock_guard<std::mutex> lock(mtx_vp_frame_);
DecFrameBuffer *fb = &vp_frames_q_.front();
void *mapped_frame_ptr = fb->frame_ptr;
if (mapped_frame_ptr != nullptr) {
HIP_API_CALL(hipFree(mapped_frame_ptr));
}