From e358534d3a81d6ddb158a927cc60d495f4e5d888 Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 8 Mar 2006 15:49:46 +0000 Subject: [PATCH] add default case to encoder switch-case (maybe an error message would be good as well). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17782 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ae.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmpcodecs/ae.c b/libmpcodecs/ae.c index caebd5846b..85ec1dbda2 100644 --- a/libmpcodecs/ae.c +++ b/libmpcodecs/ae.c @@ -74,6 +74,9 @@ audio_encoder_t *new_audio_encoder(muxer_stream_t *stream, audio_encoding_params ris = mpae_init_twolame(encoder); break; #endif + default: + ris = 0; + break; } if(! ris)