diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-07-31 22:02:55 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-07-31 22:02:55 +0000 |
commit | e07b1939e537ede247cc2ca61927cf4a89a1f562 (patch) | |
tree | 803772cf126e9ff89902d46206976096cc4adb84 /libswscale/swscale-test.c | |
parent | 6768beb4a822cbf1d1c942519c1a9b71364d9865 (diff) | |
download | ffmpeg-e07b1939e537ede247cc2ca61927cf4a89a1f562.tar.gz |
swscale-test: merge declaration and initialization
Originally committed as revision 31879 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale-test.c')
-rw-r--r-- | libswscale/swscale-test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c index ddbb768398..ce86f52b3a 100644 --- a/libswscale/swscale-test.c +++ b/libswscale/swscale-test.c @@ -82,9 +82,8 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, int i; uint64_t ssdY, ssdU=0, ssdV=0, ssdA=0; struct SwsContext *dstContext = NULL, *outContext = NULL; - int res; + int res = 0; - res = 0; for (i=0; i<4; i++) { // avoid stride % bpp != 0 if (dstFormat==PIX_FMT_RGB24 || dstFormat==PIX_FMT_BGR24) |