git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b67bd9
)
Free initial swscale context, too. Avoids a valgrind warning.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 19 Aug 2009 08:21:55 +0000
(08:21 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 19 Aug 2009 08:21:55 +0000
(08:21 +0000)
Originally committed as revision 29538 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale-example.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale-example.c
b/libswscale/swscale-example.c
index
2b179bd
..
9359e1e
100644
(file)
--- 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);