ref: 68a0f40c35f8683a9334520f05ecece2989cba00
parent: af2559c0d6fec4131f19b52be4a3bdd0e7d7ebee
parent: 6c270ed087cbf0c15c68467794dd6d56d78a9a94
author: Tom Finegan <[email protected]>
date: Mon Nov 11 02:57:42 EST 2013
Merge "vpxenc: Remove support for IVF input."
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1409,17 +1409,7 @@
} 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 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));