Commit 64d39b7c authored by Reimar Döffinger's avatar Reimar Döffinger

Free initial swscale context, too. Avoids a valgrind warning.

Originally committed as revision 29538 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 7b67bd92
...@@ -235,6 +235,7 @@ int main(int argc, char **argv) ...@@ -235,6 +235,7 @@ int main(int argc, char **argv)
} }
} }
sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride); sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);
sws_freeContext(sws);
selfTest(src, stride, W, H); selfTest(src, stride, W, H);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment