mirror of https://github.com/mpv-player/mpv
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:
parent
52b42d8abc
commit
289d5fc85e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue