diff options
author | Cédric Schieli <cschieli@gmail.com> | 2009-04-14 08:48:47 +0000 |
---|---|---|
committer | Cédric Schieli <cschieli@gmail.com> | 2009-04-14 08:48:47 +0000 |
commit | fe479c9d63f0743fa064ac2a5c019284ba88277a (patch) | |
tree | 51ed3a57b256f6a4667875033a817f60d798fe42 /libavfilter/avfilter.c | |
parent | 184fcc60b7ce5b5c240ba9e0511912d9911dca3b (diff) | |
download | ffmpeg-fe479c9d63f0743fa064ac2a5c019284ba88277a.tar.gz |
Also copy pixel_aspect when copying the picref in avfilter_start_frame.
This avoids a division by zero in '[in]fifo,scale[out]'
Originally committed as revision 18507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 349d0af0ee..5739b765ac 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -221,6 +221,7 @@ void avfilter_start_frame(AVFilterLink *link, AVFilterPicRef *picref) 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; |