Relax constraints on Y4M header parsing
authorElliott Karpilovsky <elliottk@google.com>
Thu, 14 Jan 2021 22:17:08 +0000 (14:17 -0800)
committerElliott Karpilovsky <elliottk@google.com>
Fri, 15 Jan 2021 00:18:40 +0000 (16:18 -0800)
commitecbb0e0e2a9b0500db432922b436d1f59ae9b011
treef2faa0bb208eff58acdf0a6c32f4e6780e948d67
parent576e0801f9281fd54e2c69ad5be5fef7af656011
Relax constraints on Y4M header parsing

Some refactoring and cleanup -- do not count the first 9 bytes against
the header limit. Add a unit test.

BUG=aomedia:2876

Change-Id: Id897d565e2917b48460cc77cd082cec4c98b42cb
test/y4m_test.cc
y4minput.c
y4minput.h