[vlc-commits] demux: avi: fix wrong test (cid #1348118)

Francois Cartegnie git at videolan.org
Wed Jan 13 16:07:30 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan 13 16:04:16 2016 +0100| [781bd360e82a4d0f50c2933142f4426496610230] | committer: Francois Cartegnie

demux: avi: fix wrong test (cid #1348118)

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

 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 67a14a8..425748a 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -1346,7 +1346,7 @@ static int Demux_UnSeekable( demux_t *p_demux )
                 p_stream_master = tk;
                 break;
             }
-            else if( !tk )
+            else if( !p_stream_master )
             {
                 p_stream_master = tk;
             }



More information about the vlc-commits mailing list