summaryrefslogtreecommitdiffstats
path: root/third_party/aom/av1/common/frame_buffers.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/av1/common/frame_buffers.c')
-rw-r--r--third_party/aom/av1/common/frame_buffers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/aom/av1/common/frame_buffers.c b/third_party/aom/av1/common/frame_buffers.c
index 0b6b78e3d..502ccd27d 100644
--- a/third_party/aom/av1/common/frame_buffers.c
+++ b/third_party/aom/av1/common/frame_buffers.c
@@ -75,5 +75,6 @@ int av1_release_frame_buffer(void *cb_priv, aom_codec_frame_buffer_t *fb) {
InternalFrameBuffer *const int_fb = (InternalFrameBuffer *)fb->priv;
(void)cb_priv;
if (int_fb) int_fb->in_use = 0;
+ fb->priv = NULL;
return 0;
}