y4m: Support extended frame headers when seeking
authorHenrik Gramner <henrik@gramner.com>
Thu, 7 Jan 2016 00:59:24 +0000 (01:59 +0100)
committerHenrik Gramner <henrik@gramner.com>
Sat, 16 Jan 2016 23:30:13 +0000 (00:30 +0100)
commit38a5268dbec56adea750e05c4981f3bbb176e735
tree3245c8884bcb9dcdf9508f6b1664820e6a5d1450
parentcc652c158c1fa65bfeafb6446b5be855850065d0
y4m: Support extended frame headers when seeking

Use the actual length of the frame header of the first frame instead of
assuming a header without extensions when calculating the frame size.

Also makes the frame counter more accurate with extended frame headers.
input/y4m.c