mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
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:
parent
7b67bd92f4
commit
64d39b7c76
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user