diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-02-03 11:30:17 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-04 10:00:49 +0000 |
commit | 523d9407d57e9210428b6d962f0ebf48aae55638 (patch) | |
tree | 67f39b560958730815037831b59c57c8c297e00c /libswscale | |
parent | a1b227bb533f173354795124e0b966277c251b56 (diff) | |
download | ffmpeg-523d9407d57e9210428b6d962f0ebf48aae55638.tar.gz |
Remove a few if (p) av_freep(&p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libswscale')
-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++) { |