[FFmpeg-cvslog] lavfi/vf_tile: use av_make_q.

Nicolas George git at videolan.org
Sun Jan 19 17:56:57 CET 2014


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Tue Dec 31 15:55:45 2013 +0100| [77b8d4e521309c40a940aeaafb6df8ca1d7f3c1f] | committer: Nicolas George

lavfi/vf_tile: use av_make_q.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=77b8d4e521309c40a940aeaafb6df8ca1d7f3c1f
---

 libavfilter/vf_tile.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c
index 786f4f6..459ae46 100644
--- a/libavfilter/vf_tile.c
+++ b/libavfilter/vf_tile.c
@@ -113,7 +113,7 @@ static int config_props(AVFilterLink *outlink)
     outlink->h = tile->h * inlink->h + total_margin_h;
     outlink->sample_aspect_ratio = inlink->sample_aspect_ratio;
     outlink->frame_rate = av_mul_q(inlink->frame_rate,
-                                   (AVRational){ 1, tile->nb_frames });
+                                   av_make_q(1, tile->nb_frames));
     ff_draw_init(&tile->draw, inlink->format, 0);
     ff_draw_color(&tile->draw, &tile->blank, tile->rgba_color);
 



More information about the ffmpeg-cvslog mailing list