[FFmpeg-cvslog] r25759 - trunk/libavfilter/vf_pad.c
bcoudurier
subversion
Wed Nov 17 02:03:06 CET 2010
Author: bcoudurier
Date: Wed Nov 17 02:03:06 2010
New Revision: 25759
Log:
100L fix get_video_buffer in pad filter, get_video_buffer will store wrong values for w and h
Modified:
trunk/libavfilter/vf_pad.c
Modified: trunk/libavfilter/vf_pad.c
==============================================================================
--- trunk/libavfilter/vf_pad.c Wed Nov 17 00:50:18 2010 (r25758)
+++ trunk/libavfilter/vf_pad.c Wed Nov 17 02:03:06 2010 (r25759)
@@ -230,6 +230,9 @@ static AVFilterBufferRef *get_video_buff
h + (pad->h - pad->in_h));
int plane;
+ picref->video->w = w;
+ picref->video->h = h;
+
for (plane = 0; plane < 4 && picref->data[plane]; plane++) {
int hsub = (plane == 1 || plane == 2) ? pad->hsub : 0;
int vsub = (plane == 1 || plane == 2) ? pad->vsub : 0;
More information about the ffmpeg-cvslog
mailing list