1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

Remove a few if (p) av_freep(&p) forms

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Clément Bœsch
2011-02-03 11:30:17 +01:00
committed by Mans Rullgard
parent a1b227bb53
commit 523d9407d5
3 changed files with 3 additions and 5 deletions

View File

@@ -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++) {