* Add defaults to switch statements
authorPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:19:33 +0000 (01:19 +0000)
committerPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:19:33 +0000 (01:19 +0000)
Originally committed as revision 465 to svn://svn.ffmpeg.org/ffmpeg/trunk

libav/mpeg.c

index 6379724..6b065d1 100644 (file)
@@ -191,6 +191,8 @@ static int mpeg_mux_init(AVFormatContext *ctx)
             stream->max_buffer_size = 46 * 1024; 
             s->video_bound++;
             break;
+        default:
+            abort();
         }
     }
 
@@ -226,6 +228,8 @@ static int mpeg_mux_init(AVFormatContext *ctx)
                         st->codec.frame_rate,
                         90000 * FRAME_RATE_BASE);
             break;
+        default:
+            abort();
         }
     }
     return 0;