]> granicus.if.org Git - libass/commit
Our enca code uses strdup() on the input encoding name, as we don't modify it we...
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 28 Oct 2007 14:26:05 +0000 (14:26 +0000)
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 28 Oct 2007 14:26:05 +0000 (14:26 +0000)
commitee96f478b7e058556bee463a39794fdb716d4f7c
tree6cb79fbfe3634f347e33ef18b317587ddc648636
parent52cf134a3b65f9964c29bf0f1704e2ffedfd0df1
Our enca code uses strdup() on the input encoding name, as we don't modify it we can use the original constant string.
Uses less memory, code is simpler and faster.
Fixes memory leak (noticed by ulion).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24879 b3059339-0415-0410-9bf9-f77b7e298cf2
libass/ass.c