MustafaMoneer / subtitleedit

Automatically exported from code.google.com/p/subtitleedit
0 stars 0 forks source link

Error parsing BluRay sup #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Exception during sup parsing and ocr

What is the expected output? What do you see instead?
The program break

What version of the product are you using? On what operating system?
SubEdit 3.3 
Windows XP 
.Net 3.5

Please provide any additional information below.

System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
   in Nikse.SubtitleEdit.Logic.BluRaySup.BluRaySupParser.SupDecoder.DecodeImage(PcsObject pcs, IList`1 data, List`1 palettes)
   in Nikse.SubtitleEdit.Logic.BluRaySup.BluRaySupParser.PcsData.GetBitmap()
   in Nikse.SubtitleEdit.Forms.VobSubOcr.GetSubtitleBitmap(Int32 index)
   in Nikse.SubtitleEdit.Forms.VobSubOcr.TesseractThreadRunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
   in System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   in System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

************** Assembly caricati **************
mscorlib
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3643 (GDR.050727-3600)
    Base di codice: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SubtitleEdit
    Versione assembly: 3.3.0.1536
    Versione Win32: 3.3.0.1536
    Base di codice: file:///C:/temp/subedit%203.3/SubtitleEdit.exe
----------------------------------------
System.Windows.Forms
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3644 (GDR.050727-3600)
    Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3644 (GDR.050727-3600)
    Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3644 (GDR.050727-3600)
    Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3643 (GDR.050727-3600)
    Base di codice: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Xml
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3082 (QFE.050727-3000)
    Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000)
    Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
NHunspell
    Versione assembly: 0.9.6.0
    Versione Win32: 0.9.6.0
    Base di codice: file:///C:/temp/subedit%203.3/NHunspell.DLL
----------------------------------------

Original issue reported on code.google.com by carlo.ro...@gmail.com on 11 Jan 2013 at 4:44

GoogleCodeExporter commented 8 years ago
You could you possibly email me the offending subtitle? (nikse.dk@gmail.com)?

Original comment by nikse.dk@gmail.com on 11 Jan 2013 at 7:06

GoogleCodeExporter commented 8 years ago
Fixed in r1562

Original comment by nikse.dk@gmail.com on 19 Jan 2013 at 1:09