summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-05-09 01:19:33 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-05-09 01:19:33 +0000
commitac5e6a5bd76d68208f6b920be7f3f4fdae55c3c2 (patch)
tree544a91a4a6e4701b4c7a1b27a92ace84825d837b
parentddceb31d93a27ff43682de3898149dae585de16c (diff)
* Add defaults to switch statements
Originally committed as revision 465 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libav/mpeg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libav/mpeg.c b/libav/mpeg.c
index 637972471c..6b065d12e1 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;