[FFmpeg-cvslog] r18507 - trunk/libavfilter/avfilter.c

sdrik subversion
Tue Apr 14 10:48:48 CEST 2009


Author: sdrik
Date: Tue Apr 14 10:48:47 2009
New Revision: 18507

Log:
Also copy pixel_aspect when copying the picref in avfilter_start_frame.
This avoids a division by zero in '[in]fifo,scale[out]'

Modified:
   trunk/libavfilter/avfilter.c

Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c	Tue Apr 14 06:07:35 2009	(r18506)
+++ trunk/libavfilter/avfilter.c	Tue Apr 14 10:48:47 2009	(r18507)
@@ -221,6 +221,7 @@ void avfilter_start_frame(AVFilterLink *
         link->cur_pic = avfilter_default_get_video_buffer(link, dst->min_perms);
         link->srcpic = picref;
         link->cur_pic->pts = link->srcpic->pts;
+        link->cur_pic->pixel_aspect = link->srcpic->pixel_aspect;
     }
     else
         link->cur_pic = picref;



More information about the ffmpeg-cvslog mailing list