mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
swscale-example: Use SWS_BILINEAR instead of hardcoded value.
Originally committed as revision 29547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
d98fe8ecf5
commit
7da35acdab
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user