Index: gst-plugins-good/gst/matroska/matroska-mux.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/matroska/matroska-mux.c,v
retrieving revision 1.20
diff -a -u -r1.20 matroska-mux.c
--- gst-plugins-good/gst/matroska/matroska-mux.c	14 Oct 2005 12:43:30 -0000	1.20
+++ gst-plugins-good/gst/matroska/matroska-mux.c	17 Oct 2005 08:17:46 -0000
@@ -568,9 +568,11 @@
       case 2:
         context->codec_id = g_strdup (GST_MATROSKA_CODEC_ID_VIDEO_MPEG2);
         break;
-      case 3:
+      case 4:
         context->codec_id = g_strdup (GST_MATROSKA_CODEC_ID_VIDEO_MPEG4_ASP);
         break;
+      default:
+        return FALSE;
     }
 
     return TRUE;
@@ -649,6 +651,8 @@
             context->default_duration =
                 1152 * GST_SECOND / audiocontext->samplerate;
             break;
+          default:
+            return FALSE;
         }
         break;
       }
@@ -658,6 +662,8 @@
       case 4:
         context->codec_id = g_strdup (GST_MATROSKA_CODEC_ID_AUDIO_MPEG4 "MAIN");
         break;
+      default:
+        return FALSE;
     }
 
     return TRUE;
