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

Originally committed as revision 29538 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Reimar Döffinger 2009-08-19 08:21:55 +00:00
parent 7b67bd92f4
commit 64d39b7c76

View File

@ -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);