[FFmpeg-cvslog] r29547 - trunk/libswscale/swscale-example.c
ramiro
subversion
Sun Aug 23 22:29:50 CEST 2009
Author: ramiro
Date: Sun Aug 23 22:29:49 2009
New Revision: 29547
Log:
swscale-example: Use SWS_BILINEAR instead of hardcoded value.
Modified:
trunk/libswscale/swscale-example.c
Modified: trunk/libswscale/swscale-example.c
==============================================================================
--- trunk/libswscale/swscale-example.c Sun Aug 23 17:32:42 2009 (r29546)
+++ trunk/libswscale/swscale-example.c Sun Aug 23 22:29:49 2009 (r29547)
@@ -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);
More information about the ffmpeg-cvslog
mailing list