summaryrefslogtreecommitdiff
path: root/libavfilter/vf_find_rect.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_find_rect.c')
-rw-r--r--libavfilter/vf_find_rect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_find_rect.c b/libavfilter/vf_find_rect.c
index 706e59cefe..b5f8fbcba6 100644
--- a/libavfilter/vf_find_rect.c
+++ b/libavfilter/vf_find_rect.c
@@ -80,7 +80,7 @@ static AVFrame *downscale(AVFrame *in)
frame->width = (in->width + 1) / 2;
frame->height = (in->height+ 1) / 2;
- if (av_frame_get_buffer(frame, 32) < 0) {
+ if (av_frame_get_buffer(frame, 0) < 0) {
av_frame_free(&frame);
return NULL;
}