Commit ab4df852 authored by ramiro's avatar ramiro

swscale-example: Use SWS_BILINEAR instead of hardcoded value.

git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@29547 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 53be6085
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment