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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user