[vlc-commits] Fixed warning on assignment as a condition without parentheses.

Maxim Bublis git at videolan.org
Mon Nov 18 20:04:52 CET 2013


vlc | branch: master | Maxim Bublis <b at codemonkey.ru> | Mon Nov 18 17:04:33 2013 +0400| [dbdf09a86ed6149d10a012b0d0eb1751eb9f5d22] | committer: Rémi Denis-Courmont

Fixed warning on assignment as a condition without parentheses.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 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;
         }



More information about the vlc-commits mailing list