diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-19 08:21:55 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-19 08:21:55 +0000 |
commit | 64d39b7c7630e15127f1ae2e1c8dba72265ca5c6 (patch) | |
tree | ab802aec1a722d9204de8bb8e47283ad5498762b | |
parent | 7b67bd92f4c4081bb8cf015ca634d2333f578403 (diff) | |
download | ffmpeg-64d39b7c7630e15127f1ae2e1c8dba72265ca5c6.tar.gz |
Free initial swscale context, too. Avoids a valgrind warning.
Originally committed as revision 29538 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale-example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index 2b179bdc83..9359e1ecab 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -235,6 +235,7 @@ int main(int argc, char **argv) } } sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride); + sws_freeContext(sws); selfTest(src, stride, W, H); |