diff options
author | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-23 20:29:49 +0000 |
---|---|---|
committer | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-23 20:29:49 +0000 |
commit | ed3cf3036c1cc878975083cec894e5fb3833886b (patch) | |
tree | 90e64ebc6a8e41c6eeee0dc5028e3a25e8afa210 | |
parent | 9e5e535e3496ee75cd22c3521e1cc0d76c6e75be (diff) | |
download | mpv-ed3cf3036c1cc878975083cec894e5fb3833886b.tar.bz2 mpv-ed3cf3036c1cc878975083cec894e5fb3833886b.tar.xz |
swscale-example: Use SWS_BILINEAR instead of hardcoded value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29547 b3059339-0415-0410-9bf9-f77b7e298cf2
-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); |