[vlc-commits] AVI: increase threshold for subtitles detection to 10MB

Jean-Baptiste Kempf git at videolan.org
Tue Dec 11 19:55:04 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec 11 19:54:17 2012 +0100| [6e85f629f04625c7ff5d42e522ad931120061867] | committer: Jean-Baptiste Kempf

AVI: increase threshold for subtitles detection to 10MB

Close #7853

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e85f629f04625c7ff5d42e522ad931120061867
---

 modules/demux/avi/avi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 50e07f8..4fa83eb 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -2668,7 +2668,7 @@ static void AVI_ExtractSubtitle( demux_t *p_demux,
     }
 
     /* */
-    if( i_size > 1000000 )
+    if( i_size > 10000000 )
         goto exit;
 
     if( stream_Seek( p_demux->s, i_position ) )



More information about the vlc-commits mailing list