Skip to content
This repository
Browse code

Merge pull request #2696 from FernetMenta/streamfix

fix crash in VobSub demuxer, fix typo
  • Loading branch information...
commit 976f09f775cb17918da61c07066fcb8e2e97e588 2 parents d24b3ec + 03e55bc
Joakim Plate authored May 06, 2013
2  xbmc/cores/dvdplayer/DVDDemuxers/DVDDemux.h
@@ -139,7 +139,7 @@ class CDemuxStream
139 139
 
140 140
   int  changes; // increment on change which player may need to know about
141 141
 
142  
-  int orig_type; // type of origininal source
  142
+  int orig_type; // type of original source
143 143
 
144 144
   enum EFlags
145 145
   { FLAG_NONE     = 0x0000 
2  xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxVobsub.cpp
@@ -40,8 +40,6 @@ CDVDDemuxVobsub::~CDVDDemuxVobsub()
40 40
 {
41 41
   for(unsigned i=0;i<m_Streams.size();i++)
42 42
   {
43  
-    if(m_Streams[i]->ExtraData)
44  
-      free(m_Streams[i]->ExtraData);
45 43
     delete m_Streams[i];
46 44
   }
47 45
   m_Streams.clear();

0 notes on commit 976f09f

Please sign in to comment.
Something went wrong with that request. Please try again.