[vlc-devel] [PATCH v2] Fixed warning on assignment as a condition without parentheses.

Maxim Bublis b at codemonkey.ru
Mon Nov 18 14:04:33 CET 2013


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

diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index 43db2e5..62126d0 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -174,7 +174,8 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
         }
         p_container->common.p_last = p_chk;
 
-        if( i_ret = AVI_ChunkRead( s, p_chk, p_container ) )
+        i_ret = AVI_ChunkRead( s, p_chk, p_container );
+        if( i_ret )
         {
             break;
         }
-- 
1.8.3.4 (Apple Git-47)




More information about the vlc-devel mailing list