Fix broken y4m reader when bit depth > 8.
authorNathan E. Egge <negge@dgql.org>
Mon, 25 Jul 2016 05:41:09 +0000 (01:41 -0400)
committerNathan E. Egge <negge@dgql.org>
Mon, 25 Jul 2016 05:41:09 +0000 (01:41 -0400)
commit1b2f415bee6f76f93861a248e7618a235a57f614
treed9e9ef1a2266d20e4be2004536c9a7713901bd90
parent9817db1f0b15963514f925e3e2c78e651b1e266d
Fix broken y4m reader when bit depth > 8.

The y4m_input_fetch_frame() function was broken on y4m files with high
 bit depth (depth > 8) where either the frame width or frame height were
 not multiples of 16.
tools/y4m2png.c
tools/y4m_input.c