summaryrefslogtreecommitdiff
path: root/vpxenc.c
diff options
context:
space:
mode:
authorTom Finegan <tomfinegan@google.com>2013-11-08 11:32:23 -0800
committerTom Finegan <tomfinegan@google.com>2013-11-08 14:07:11 -0800
commit6c270ed087cbf0c15c68467794dd6d56d78a9a94 (patch)
treebd2000c33d6914e43019239399fb17924a3efe77 /vpxenc.c
parente731b2ba2cdb6f3f38b701a19dc5c035a2232371 (diff)
downloadlibvpx-6c270ed087cbf0c15c68467794dd6d56d78a9a94.tar
libvpx-6c270ed087cbf0c15c68467794dd6d56d78a9a94.tar.gz
libvpx-6c270ed087cbf0c15c68467794dd6d56d78a9a94.tar.bz2
libvpx-6c270ed087cbf0c15c68467794dd6d56d78a9a94.zip
vpxenc: Remove support for IVF input.
Change-Id: Ida0e1b2df89e992b8140672b70517d8623cf9ede
Diffstat (limited to 'vpxenc.c')
-rw-r--r--vpxenc.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/vpxenc.c b/vpxenc.c
index df75b853a..877a0090b 100644
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1409,17 +1409,7 @@ void open_input_file(struct input_state *input) {
} else
fatal("Unsupported Y4M stream.");
} else if (input->detect.buf_read == 4 && file_is_ivf(input, &fourcc)) {
- input->file_type = FILE_TYPE_IVF;
- switch (fourcc) {
- case 0x32315659:
- input->use_i420 = 0;
- break;
- case 0x30323449:
- input->use_i420 = 1;
- break;
- default:
- fatal("Unsupported fourcc (%08x) in IVF", fourcc);
- }
+ fatal("IVF is not supported as input.");
} else {
input->file_type = FILE_TYPE_RAW;
}
@@ -1433,7 +1423,7 @@ static void close_input_file(struct input_state *input) {
}
static struct stream_state *new_stream(struct global_config *global,
- struct stream_state *prev) {
+ struct stream_state *prev) {
struct stream_state *stream;
stream = calloc(1, sizeof(*stream));