projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d98fe8e
)
swscale-example: Use SWS_BILINEAR instead of hardcoded value.
author
Ramiro Polla
<ramiro.polla@gmail.com>
Sun, 23 Aug 2009 20:29:49 +0000
(20:29 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Sun, 23 Aug 2009 20:29:49 +0000
(20:29 +0000)
Originally committed as revision 29547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale-example.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale-example.c
b/libswscale/swscale-example.c
index
da29a16
..
eaaae10
100644
(file)
--- 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);