mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
Free initial swscale context, too. Avoids a valgrind warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29538 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
78fb0e7f16
commit
9d6b461605
@ -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