]> git.sesse.net Git - vlc/commitdiff
lpcm: abort() is a better solution here
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Dec 2009 10:29:04 +0000 (11:29 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Dec 2009 10:29:04 +0000 (11:29 +0100)
modules/codec/lpcm.c

index be2c1f86d269c0f3b842c6511ca1c1557c4079d4..5980e9dd0b44db8aa45ecc026467ae91481b6048 100644 (file)
@@ -307,8 +307,7 @@ static void *DecodeFrame( decoder_t *p_dec, block_t **pp_block )
                           p_block->p_buffer );
         break;
     default:
-        assert(0);
-        i_ret = VLC_EGENERIC;
+        abort();
     }
 
     if( i_ret || p_block->i_buffer <= p_sys->i_header_size + i_padding )