From ac5e6a5bd76d68208f6b920be7f3f4fdae55c3c2 Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Thu, 9 May 2002 01:19:33 +0000 Subject: [PATCH] * Add defaults to switch statements Originally committed as revision 465 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libav/mpeg.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libav/mpeg.c b/libav/mpeg.c index 6379724..6b065d1 100644 --- a/libav/mpeg.c +++ b/libav/mpeg.c @@ -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; -- 2.7.4