diff options
author | Luc Trudeau <ltrudeau@twoorioles.com> | 2018-10-01 22:13:49 +0300 |
---|---|---|
committer | Luc Trudeau <ltrudeau@twoorioles.com> | 2018-10-02 04:44:39 +0300 |
commit | da1443b1e48a8b538c2245c24d431487181a1518 (patch) | |
tree | 8b000022fac2b637ef3885852f647725192ad655 /tools/output | |
parent | 7b59b88337b2e239b58cf911bff3137615a333f1 (diff) |
Remove trailing spaces in y4m2.c
Diffstat (limited to 'tools/output')
-rw-r--r-- | tools/output/y4m2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/output/y4m2.c b/tools/output/y4m2.c index 076ea08..87cee13 100644 --- a/tools/output/y4m2.c +++ b/tools/output/y4m2.c @@ -55,17 +55,17 @@ static int y4m2_open(Y4m2OutputContext *const c, const char *const file, [DAV1D_PIXEL_LAYOUT_I422] = { "422", "422p10" }, [DAV1D_PIXEL_LAYOUT_I444] = { "444", "444p10" } }; - + static const char *const chr_names_8bpc_i420[] = { [DAV1D_CHR_UNKNOWN] = "420jpeg", [DAV1D_CHR_VERTICAL] = "420mpeg2", [DAV1D_CHR_COLOCATED] = "420paldv" }; - + const char *const ss_name = p->layout == DAV1D_PIXEL_LAYOUT_I420 && p->bpc == 8 ? - chr_names_8bpc_i420[p->chr > 2 ? DAV1D_CHR_UNKNOWN : p->chr] : + chr_names_8bpc_i420[p->chr > 2 ? DAV1D_CHR_UNKNOWN : p->chr] : ss_names[p->layout][p->bpc > 8]; - + fprintf(c->f, "YUV4MPEG2 W%d H%d C%s Ip F%d:%d\n", p->w, p->h, ss_name, fps[0], fps[1]); |