[PATCH 1/2] Make avfilter_copy_picref_props() copy w and h from src to dst.

Stefano Sabatini stefano.sabatini-lala
Tue Aug 3 02:57:45 CEST 2010


---
 libavfilter/avfilter.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index eceb76f..ebb5ad7 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -127,6 +127,8 @@ static inline void avfilter_copy_picref_props(AVFilterPicRef *dst, AVFilterPicRe
     dst->pixel_aspect    = src->pixel_aspect;
     dst->interlaced      = src->interlaced;
     dst->top_field_first = src->top_field_first;
+    dst->w               = src->w;
+    dst->h               = src->h;
 }
 
 /**
-- 
1.7.0.4


--OXfL5xGRrasGEqWY
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-Implement-libopencv-smooth-filter.patch"




More information about the ffmpeg-devel mailing list