Mercurial > mplayer.hg
diff libswscale/swscale-example.c @ 29505:fa1ad0b67187
swscale-example: Use SWS_BILINEAR instead of hardcoded value.
author | ramiro |
---|---|
date | Sun, 23 Aug 2009 20:29:49 +0000 |
parents | a3e1ef1c76d0 |
children | b7d639772e17 |
line wrap: on
line diff
--- a/libswscale/swscale-example.c Sun Aug 23 15:32:42 2009 +0000 +++ b/libswscale/swscale-example.c Sun Aug 23 20:29:49 2009 +0000 @@ -225,7 +225,7 @@ struct SwsContext *sws; AVLFG rand; - sws= sws_getContext(W/12, H/12, PIX_FMT_RGB32, W, H, PIX_FMT_YUVA420P, 2, NULL, NULL, NULL); + sws= sws_getContext(W/12, H/12, PIX_FMT_RGB32, W, H, PIX_FMT_YUVA420P, SWS_BILINEAR, NULL, NULL, NULL); av_lfg_init(&rand, 1);