[vlc-commits] demux: asf: fix guid comparison

Francois Cartegnie git at videolan.org
Tue Nov 26 15:33:52 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Nov 26 13:07:56 2013 +0100| [b9d290d4ebd00601af277539eed5d9edbe2301d4] | committer: Francois Cartegnie

demux: asf: fix guid comparison

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

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

diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index 76313f2..c9070d5 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -1661,7 +1661,7 @@ asf_object_root_t *ASF_ReadObjectRoot( stream_t *s, int b_seekable )
         }
 
         /* Set a limit to avoid junk when possible */
-        if ( !guidcmp( &p_obj->common.i_object_id, &asf_object_file_properties_guid ) )
+        if ( guidcmp( &p_obj->common.i_object_id, &asf_object_file_properties_guid ) )
         {
             i_boundary = p_obj->file_properties.i_file_size;
         }



More information about the vlc-commits mailing list