]> git.sesse.net Git - vlc/blobdiff - modules/demux/avi/libavi.c
Remove useless test before a free (again).
[vlc] / modules / demux / avi / libavi.c
index d991dcd999ef7cc241e982dc6a9029fe5ad84d42..dfd89478283ecf765a21b33dd426349c49739725 100644 (file)
@@ -444,7 +444,7 @@ static int AVI_ChunkRead_strd( stream_t *s, avi_chunk_t *p_chk )
 
 static void AVI_ChunkFree_strd( avi_chunk_t *p_chk )
 {
-    if( p_chk->strd.p_data ) free( p_chk->strd.p_data );
+    free( p_chk->strd.p_data );
 }
 
 static int AVI_ChunkRead_idx1( stream_t *s, avi_chunk_t *p_chk )