swscale-example: Free memory used by input data.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29583 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ramiro 2009-08-29 03:36:09 +00:00
parent 52b42d8abc
commit 289d5fc85e
1 changed files with 2 additions and 0 deletions

View File

@ -236,8 +236,10 @@ int main(int argc, char **argv)
}
sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);
sws_freeContext(sws);
free(rgb_data);
selfTest(src, stride, W, H);
free(data);
return 0;
}