diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-22 00:22:24 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-22 00:22:24 +0000 |
commit | 4d55629cd6337598fb58fbf58b3fbe6e3f9d4850 (patch) | |
tree | 210d0843945e6b90f0bdd972583a6b2e3e77d16a | |
parent | 75c4d3e8b5acce44b91d0a08b2e3856a843243e8 (diff) |
Fix crash with partial fribidi conversion.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29952 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | subreader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c index adb440bebd..8cbe7311a5 100644 --- a/subreader.c +++ b/subreader.c @@ -1199,7 +1199,7 @@ static subtitle* sub_fribidi (subtitle *sub, int sub_utf8, int from) sub->text[l] = op; } } - if (l){ + if (!from && l){ for (l = sub->lines; l;) free (sub->text[--l]); return ERR; |