[vlc-devel] commit: lpcm: kill a warning (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Dec 16 11:27:14 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 16 10:57:01 2009 +0100| [c98f127bc4bebb8d39ac1d8922e045a9c1682d66] | committer: Jean-Baptiste Kempf 

lpcm: kill a warning

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

 modules/codec/lpcm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/lpcm.c b/modules/codec/lpcm.c
index ed8681c..be2c1f8 100644
--- a/modules/codec/lpcm.c
+++ b/modules/codec/lpcm.c
@@ -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 )




More information about the vlc-devel mailing list