]> granicus.if.org Git - handbrake/commitdiff
First try at fixing a crash in quicktime if the subtitles contains an inverted exclam...
authorritsuka <damiog@gmail.com>
Sun, 2 Aug 2009 14:58:07 +0000 (14:58 +0000)
committerritsuka <damiog@gmail.com>
Sun, 2 Aug 2009 14:58:07 +0000 (14:58 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2747 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/deccc608sub.c

index 48bb1f73d7c353ab4b1c92f912f76c0ef4acfd28..5f1e8a14fbf36ea0b00eeeb744ec3b56d5883721 100644 (file)
@@ -681,7 +681,7 @@ int get_char_in_utf_8 (unsigned char *buffer, unsigned char c) // Returns number
             *buffer=0x27;                      
             return 1;
         case 0x97: // inverted exclamation mark
-            *buffer=0xc1;
+            *buffer=0xc2;
             *(buffer+1)=0xa1;
             return 2;
         case 0x98: // asterisk