]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/defaults.c
Document create_filter().
[ffmpeg] / libavfilter / defaults.c
index e4218a818b742588d4609e496b4f1248d7283773..ed1db94b69dc54e3b0615f6ec104c933dea80d09 100644 (file)
@@ -40,8 +40,8 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms,
     char *buf;
 
     ref->pic   = pic;
-    ref->w     = pic->w = w;
-    ref->h     = pic->h = h;
+    ref->w     = w;
+    ref->h     = h;
 
     /* make sure the buffer gets read permission or it's useless for output */
     ref->perms = perms | AV_PERM_READ;