diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-08-23 20:29:49 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-08-23 20:29:49 +0000 |
commit | 7da35acdab59bad969910a35ea1a7df5c23855d8 (patch) | |
tree | faf4dc8aab927494a70eb081d9d4e38adcc6b82d | |
parent | d98fe8ecf51ce39de546892ee4c28c548b684965 (diff) | |
download | ffmpeg-7da35acdab59bad969910a35ea1a7df5c23855d8.tar.gz |
swscale-example: Use SWS_BILINEAR instead of hardcoded value.
Originally committed as revision 29547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale-example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index da29a16470..eaaae109bb 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -225,7 +225,7 @@ int main(int argc, char **argv) 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); |