Relax constraints on Y4M header parsing
authorElliott Karpilovsky <elliottk@google.com>
Thu, 28 Jan 2021 19:22:58 +0000 (11:22 -0800)
committerElliott Karpilovsky <elliottk@google.com>
Thu, 28 Jan 2021 19:52:41 +0000 (11:52 -0800)
commitebb5ffc1d462c70dfb2283a5c7afcb75288c7692
tree28e5286a933596b5ff58d6e27d934c2e4c53dde2
parentdeff7ddd27f1135d59b2d7ca524928654230174c
Relax constraints on Y4M header parsing

Previous parser assumed that the header would not exceed
80 characters. However, with latest FFMPEG changes, the header
of Y4M files can exceed this limit.

New parser can parse up to ~200 characters. Arbitrary parsing in
future commit.

BUG=aomedia:2876

Change-Id: I2ab8a7930cb5b76004e6731321d0ea20ddf333c1
test/y4m_test.cc
y4minput.c