diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-08-08 22:18:13 +0400 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-08-08 22:18:13 +0400 |
commit | a4fc3bd5333d3b5d7dc7aba15ddfcc4fbebd95ac (patch) | |
tree | 2ea95a0e3e7d3ac802a31c96f8ed8b9f4bcc1c1e /libswscale | |
parent | 06c93cb705d63709789e9d77de3bd07e7270ecd4 (diff) |
indent
Originally committed as revision 31949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale-test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c index 70a7a51304..643c17b5b1 100644 --- a/libswscale/swscale-test.c +++ b/libswscale/swscale-test.c @@ -94,9 +94,9 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, /* An extra 16 bytes is being allocated because some scalers may write * out of bounds. */ if (dstStride[i]) - dst[i]= av_mallocz(dstStride[i]*dstH+16); + dst[i]= av_mallocz(dstStride[i]*dstH+16); if (refStride[i]) - out[i]= av_mallocz(refStride[i]*h); + out[i]= av_mallocz(refStride[i]*h); if ((dstStride[i] && !dst[i]) || (refStride[i] && !out[i])) { perror("Malloc"); res = -1; @@ -159,9 +159,9 @@ end: for (i=0; i<4; i++) { if (dstStride[i]) - av_free(dst[i]); + av_free(dst[i]); if (refStride[i]) - av_free(out[i]); + av_free(out[i]); } return res; @@ -202,7 +202,7 @@ static void selfTest(uint8_t *ref[4], int refStride[4], int w, int h) av_fill_image_linesizes(srcStride, srcFormat, srcW); for (p = 0; p < 4; p++) { if (srcStride[p]) - src[p] = av_mallocz(srcStride[p]*srcH+16); + src[p] = av_mallocz(srcStride[p]*srcH+16); if (srcStride[p] && !src[p]) { perror("Malloc"); return; @@ -227,7 +227,7 @@ static void selfTest(uint8_t *ref[4], int refStride[4], int w, int h) sws_freeContext(srcContext); for (p = 0; p < 4; p++) if (srcStride[p]) - av_free(src[p]); + av_free(src[p]); } } } |