[vlc-devel] commit: lpcm: abort() is a better solution here (Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Dec 16 11:29:24 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 16 11:29:04 2009 +0100| [5fdee8ec9899456231c2bd584614ba41c4191ed3] | committer: Jean-Baptiste Kempf
lpcm: abort() is a better solution here
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5fdee8ec9899456231c2bd584614ba41c4191ed3
---
modules/codec/lpcm.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/codec/lpcm.c b/modules/codec/lpcm.c
index be2c1f8..5980e9d 100644
--- a/modules/codec/lpcm.c
+++ b/modules/codec/lpcm.c
@@ -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 )
More information about the vlc-devel
mailing list