Commit ac41e27c authored by Felix Paul Kühne's avatar Felix Paul Kühne

vda: fix major memory leak which killed decoding shortly after start (close #8440)

parent 543d0af1
......@@ -103,6 +103,7 @@ static void vda_Copy420YpCbCr8Planar( picture_t *p_pic,
i_width, i_height, cache );
CVPixelBufferUnlockBaseAddress( buffer, 0 );
CVPixelBufferRelease( buffer );
}
/*****************************************************************************
......@@ -133,6 +134,7 @@ static void vda_Copy422YpCbCr8( picture_t *p_pic,
}
CVPixelBufferUnlockBaseAddress( buffer, 0 );
CVPixelBufferRelease( buffer );
}
static int Setup( vlc_va_t *p_external, void **pp_hw_ctx, vlc_fourcc_t *pi_chroma,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment