changeset 17781:d9474f04cce5

add default case to encoder switch-case (maybe an error message would be good as well).
author reimar
date Wed, 08 Mar 2006 15:49:46 +0000
parents 16c347e53841
children dca06252af6c
files libmpcodecs/ae.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ae.c	Wed Mar 08 15:39:53 2006 +0000
+++ b/libmpcodecs/ae.c	Wed Mar 08 15:49:46 2006 +0000
@@ -74,6 +74,9 @@
 			ris = mpae_init_twolame(encoder);
 			break;
 #endif
+		default:
+			ris = 0;
+			break;
 	}
 	
 	if(! ris)