aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/defaults.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-07 18:50:00 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-07 18:50:00 +0000
commit46c40e4835cb91523c64806a1eef569029f3b85c (patch)
tree0f6bc35fd160d9fc63e299958e210d597381eae5 /libavfilter/defaults.c
parent9797ce58b7967b94cf70028e4a8159d654084695 (diff)
downloadffmpeg-46c40e4835cb91523c64806a1eef569029f3b85c.tar.gz
Add w and h fields to AVFilterPic.
See the thread: "[FFmpeg-devel] [PATCH] Add w,h fields to AVFilterPic". Originally committed as revision 20189 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r--libavfilter/defaults.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c
index 7c20a08f35..dabb1d5bf0 100644
--- a/libavfilter/defaults.c
+++ b/libavfilter/defaults.c
@@ -40,8 +40,8 @@ AVFilterPicRef *avfilter_default_get_video_buffer(AVFilterLink *link, int perms)
char *buf;
ref->pic = pic;
- ref->w = link->w;
- ref->h = link->h;
+ ref->w = pic->w = link->w;
+ ref->h = pic->h = link->h;
/* make sure the buffer gets read permission or it's useless for output */
ref->perms = perms | AV_PERM_READ;