vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Jan 11 
18:46:14 2016 +0100| [26ac8a6a65540017f3f1d71aa0026d675024ab0a] | committer: 
Francois Cartegnie

demux: avi: raise chunk size to 2*CLOCK_FREQ for unseekable

refs toon.avi

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

 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 bae8a3c..8c0c46d 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -1404,7 +1404,7 @@ static int Demux_UnSeekable( demux_t *p_demux )
         {
             /* check for time */
             if( llabs( AVI_GetPTS( p_stream ) -
-                        AVI_GetPTS( p_stream_master ) )< 600*1000 )
+                        AVI_GetPTS( p_stream_master ) )< 2 * CLOCK_FREQ )
             {
                 /* load it and send to decoder */
                 block_t *p_frame = ReadFrame( p_demux, p_stream, 8, 
avi_pk.i_size + 8 ) ;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to