summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Mesa/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c')
-rw-r--r--dist/Mesa/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dist/Mesa/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c b/dist/Mesa/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
index e74abe286..9cdb40ba0 100644
--- a/dist/Mesa/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
+++ b/dist/Mesa/src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
@@ -59,6 +59,7 @@ static void dump_comm_vp(struct nouveau_vp3_decoder *dec, struct comm *comm, u32
static void
nv98_decoder_kick_ref(struct nouveau_vp3_decoder *dec, struct nouveau_vp3_video_buffer *target)
{
+ dec->refs[target->valid_ref].vidbuf = NULL;
dec->refs[target->valid_ref].last_used = 0;
// debug_printf("Unreffed %p\n", target);
}