diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-02-03 13:30:17 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-06 22:31:44 +0300 |
commit | b9004bd50c2fa5d4c0ef71ec09c9e70ec83f2e87 (patch) | |
tree | 3291cd272016c68f1ddbcc55dd8cd56b4087c398 /libswscale/swscale-test.c | |
parent | c54ac7a8f252a03299c7686fb885c41ee9fc1233 (diff) |
Remove a few if (p) av_freep(&p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 523d9407d57e9210428b6d962f0ebf48aae55638)
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 ae5f8b70fa..bd24f3e006 100644 --- a/libswscale/swscale-test.c +++ b/libswscale/swscale-test.c @@ -104,8 +104,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, int p; for (p = 0; p < 4; p++) - if (src[p]) - av_freep(&src[p]); + av_freep(&src[p]); av_image_fill_linesizes(srcStride, srcFormat, srcW); for (p = 0; p < 4; p++) { |