]> git.sesse.net Git - vlc/commitdiff
lpcm: kill a warning
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Dec 2009 09:57:01 +0000 (10:57 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 16 Dec 2009 09:57:01 +0000 (10:57 +0100)
modules/codec/lpcm.c

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