summaryrefslogtreecommitdiffstats
path: root/libass/ass_mp.h
diff options
context:
space:
mode:
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-28 14:26:05 +0000
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-28 14:26:05 +0000
commitb43c16f8b68657d93ff920d5ec5a4a52a01f426a (patch)
tree8cc55f5a9d518e05b55793c2845e2f07d8f00cb2 /libass/ass_mp.h
parent41951932f92714d71f4c7f896dc40ed6fb869c45 (diff)
downloadmpv-b43c16f8b68657d93ff920d5ec5a4a52a01f426a.tar.bz2
mpv-b43c16f8b68657d93ff920d5ec5a4a52a01f426a.tar.xz
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
Diffstat (limited to 'libass/ass_mp.h')
0 files changed, 0 insertions, 0 deletions