summaryrefslogtreecommitdiff
path: root/libavfilter/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/video.c')
-rw-r--r--libavfilter/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/video.c b/libavfilter/video.c
index 9ab8edb12c..14e7e72f41 100644
--- a/libavfilter/video.c
+++ b/libavfilter/video.c
@@ -55,6 +55,7 @@ AVFilterBufferRef *ff_default_get_video_buffer(AVFilterLink *link, int perms, in
AVFilterBuffer *pic = picref->buf;
pool->pic[i] = NULL;
pool->count--;
+ av_assert0(!picref->video->qp_table);
picref->video->w = w;
picref->video->h = h;
picref->perms = full_perms;