]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_signalstats.c
avfilter: add estdif video filter
[ffmpeg] / libavfilter / vf_signalstats.c
index 1ccc16dd38c5eacd52e53d813cc0074b1e644d54..1331327bb3304d05e1f967fb190ea4880370941f 100644 (file)
@@ -150,7 +150,7 @@ static AVFrame *alloc_frame(enum AVPixelFormat pixfmt, int w, int h)
     frame->width  = w;
     frame->height = h;
 
-    if (av_frame_get_buffer(frame, 32) < 0) {
+    if (av_frame_get_buffer(frame, 0) < 0) {
         av_frame_free(&frame);
         return NULL;
     }